navFormReceiveReadSelect (Function) |
Top Previous Next |
This function will read a selected option from a selection field on a received form. Note that the received form is only valid after a "Form received" event is raised; the event will not be removed until the navFormReceiveDone function is called. To read all the selected options of a field with multiple selections, call this function with incrementing index until all the selected options have been found.
Input: id : DINT (1..2147483647) ID of the field to read.
index : INT (1..30) Index of the option to read.
Output: option : DINT The id of a selected option.
Returns: INT
Declaration: FUNCTION navFormReceiveReadSelect : INT;
Example: INCLUDE rtcu.inc |