Form (gb.qt4)
程序中每个窗体的父类。
作为缺省,一个窗体是它/自己的/事件观察器,这意味着窗体对象发生的所有事件被窗体源代码中定义的事件处理捕获。
Examples
PUBLIC SUB btnOpenForm1_Click()
DIM newform AS Form
' 这是一个IDE中创建的窗体,在屏幕上移动它。
Form1.Show ' 激活,首次显示Form1窗体
WAIT 1.5
Form1.X = 20
Form1.Y = 200 ' 移动窗体
WAIT 1.5
Form1.X = 90
Form1.Y = 150 ' 再次移动窗体
' 这是一个用程序代码新创建的窗体
newform = NEW Form
newform.x = 180
newform.Y = 180
newform.Caption = "另一个被创建的窗体"
newform.Show
END
This class inherits
Window.
This class can be used like an object by creating a hidden instance on demand.
This class is
creatable.
This class acts like a
read-only array.
Inherited constants
Static methods
Load
|
This function is called Load to recall the Visual Basic™ terminology.
|
Main
|
|
Inherited properties
Inherited methods
Inherited events