;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara /* Description - Query Box action is used to display the query box with two options. Now, a definition QueryBox is introduced to provide multiple options. Query Box Definition Syntax - [QueryBox : ] Title : Horizontal Align : Vertical Align : Query : : : Query : : : : : Query : : : Default : : Action Syntax - Query Box Ex : Form Attribute Control Syntax - Control Ex : : [ : ] */ [#Menu: Gateway of Tally] Add: Item: ($$LocaleString:"Sample Query Box"): Call: TSPL Smp Query Box [Function: TSPL Smp Query Box] Variable : SelectedIndex : Number 000 : Query Box Ex : TSPL Query Box 010 : Set : SelectedIndex : $$LastResult 020 : Msg Box : "Selected Index is " : ##SelectedIndex [Query Box: TSPL Query Box] Title : "Sample Query Box" Horizontal Align : Right Vertical Align : Top ; ;;; 1 is set as default selection for Enter Key and 3 is set as default for Escape Key Default : 1 : 3 Gray Background : Yes ; ;;; Multiple Query Options can be specified Query : Y : "Accept" : "Accept the Screen" Query : O : "Override" : "Override the existing data" Query : N : "Back" : "Cancel the operation" ;; End-of-File