Form
(gb.qt)
The parent
class of every form of a program.
 |
By default, a form is its own event observer. That means the all event raised by Form object are catched by event handlers defined in the form source code.
|
Symbols
This class inherits
Window.
This class can be used like an object by creating an hidden instance on demand.
This class is
creatable.
This class acts like a
read-only array.
Examples
PUBLIC SUB btnOpenForm1_Click()
DIM newform AS Form
' here an existing, in IDE created form is moved around the screen Form1.Show
' Activate, Display the form Form1 the first time
WAIT 1.5
Form1.X = 20
Form1.Y = 200 ' move it arounnd
WAIT 1.5
Form1.X = 90
Form1.Y = 150 ' Move it again
' Here a new created form is displayed
newform = NEW Form
newform.x = 180
newform.Y = 180
newform.Caption = "Another created Form"
newform.Show
END