2,723
社区成员
发帖
与我相关
我的任务
分享
Public oform1
oform1=Newobject("form1")
oform1.Show
Return
Define Class form1 As Form
Top = 29
Left = 124
Height = 183
Width = 377
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
Add Object timer1 As Timer With ;
Top = 12, ;
Left = 12, ;
Height = 23, ;
Width = 23, ;
Interval = 500, ;
Name = "Timer1"
Add Object label1 As Label With ;
AutoSize = .F., ;
FontSize = 16, ;
Caption = "Label1", ;
Height = 36, ;
Left = 56, ;
Top = 12, ;
Width = 252, ;
ForeColor = Rgb(0,0,255), ;
Name = "Label1"
Add Object combo1 As ComboBox With ;
RowSourceType = 1, ;
RowSource = "1,2,3,4,5,6,7,8,9,0,a,b,c,d,e,f,g,h", ;
Height = 24, ;
Left = 252, ;
Top = 60, ;
Width = 100, ;
Name = "Combo1"
Add Object list1 As ListBox With ;
RowSourceType = 1, ;
RowSource = "1,2,3,4,5,6,7,8,9,0,a,b,c,d,e,f,g,h", ;
Height = 72, ;
Left = 144, ;
Top = 60, ;
Width = 100, ;
Name = "List1"
Procedure timer1.Timer
Thisform.Label1.Caption=Ttoc(Datetime())
Endproc
Enddefine