PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
Top = 0
Left = 0
Height = 150
Width = 352
Caption = "Form1"
Name = "form1"
ADD OBJECT text1 AS textbox WITH ;
Height = 22, ;
Left = 66, ;
Top = 36, ;
Width = 111, ;
AutoComplete = 1, ;
Name = "Text1"
ENDDEFINE
这是一个简单的代码,你自己看看吧
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
Top = 0
Left = 0
Height = 150
Width = 352
Caption = "Form1"
Name = "form1"
ADD OBJECT text1 AS textbox WITH ;
Height = 22, ;
Left = 66, ;
Top = 36, ;
Width = 111, ;
AutoComplete = 1, ;
Name = "Text1"
ENDDEFINE
这是一个简单的代码,你自己看看吧
嗯!这个我已经知道了哦!
但是如果是按钮,怎么设计按钮的CLICK动作代码阿?