navFormAddDate (Function) |
Top Previous Next |
This function will add a date field to the form that is currently being constructed.
This field can be read from a received form by using navFormReceiveReadDateTime.
Input: id : DINT (1..2147483647) Unique ID to identify the field.
title : STRING The title of the field. Max. 50 characters.
desc : STRING The description of the field to show below the title while no value has been entered. Max. 60 characters.
required : BOOL (default FALSE) Set to true to make the field required.
linsec : DINT (default -1) The linsec of the default date. Set to -1 to use the current date. Must be after 1990-01-01.
Returns: INT
Declaration: FUNCTION navFormAddDate : INT;
Example: INCLUDE rtcu.inc |