•
|
The form definition between layout form and exit. This includes the commands which create the form itself, and set its attributes, such as its size and title, the commands which create the gadgets on the form and specify how they are arranged, and the definitions of any variables which are to be members of the form.
|
•
|
Any method definitions should follow the exit command, each method beginning with the define method command and ending with endmethod. Methods on forms are just like methods on any other kind of object ‑ refer to Methods on User-Defined Object Types
|
•
|
In particular, it will contain the form's default constructor method. This is a method with the same name as the form, and no arguments. It is the only method called automatically when the form is loaded, and so it can be used, among other things, to set default values for the gadgets on the form.
|
•
|
The form may be given an initialisation method, which is run whenever the form is shown (as opposed to when it is loaded). Refer to Form Initialisation Callback.
|