guiShowNumberInput (Function) |
Top Previous Next |
This function shows a dialog that shows a keypad for the user to enter a number. 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.
min_val : DINT default -2147483648 The minimum allowed value.
max_val : DINT default 2147483647 The maximum allowed value.
value : DINT The initial value of the number.
Output: value : DINT The new value of the number.
Returns: INT
Declaration: FUNCTION guiShowNumberInput : INT;
Example: INCLUDE rtcu.inc |