INITFORM
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
INITFORM
Description
Initializes all form items, local definitions and global definitions.
INITFORM clears all the form items, local definitions and global definitions and sets them to their initial value. This is similar to the behaviour of a transmit in LINC.
Diagram
N.A.
Returned value type
None
Parameters
None
Remarks
This command could for instance be used in event routines, where upon reaching the end of the routine, the form is repainted instead of being re-initialized and calling display_main.
Example
routine combobox_onselect (fieldname: string)
begin_routine
process_main()
initform
display_main()
end_routine
begin_routine
process_main()
initform
display_main()
end_routine