guiShowChoice (Function) |
Top Previous Next |
This function shows a dialog that contains a message and a number of choices. The dialog closes either when the user selects OK or Cancel, or when it times out. Input: message : STRING The message to show to the user
timeout : INT (-1, 0..3600) default -1 The number of seconds without activity before the dialog closes by itself. Use -1 for no timeout.
count : INT (1..8) The number of choices to show.
choice1 : STRING The first choice to show.
choice2 : STRING The second choice to show.
choice3 : STRING The third choice to show.
choice4 : STRING The fourth choice to show.
choice5 : STRING The fifth choice to show.
choice6 : STRING The sixth choice to show.
choice7 : STRING The seventh choice to show.
choice8 : STRING The eighth choice to show.
Output: choice : INT The index of the chosen choice.
Returns: INT
Declaration: FUNCTION guiShowChoice : INT;
Example: INCLUDE rtcu.inc |