Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create form from .PRG code
Message
From
18/04/2006 22:35:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Create form from .PRG code
Miscellaneous
Thread ID:
01114462
Message ID:
01114462
Views:
57
Hi,

How can I to convert this form1 class to .SCX form ?
Local loForm as Form
loForm = NewObject("form1")
loForm.Show(1)
***
DEFINE CLASS form1 AS form
	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"
	ADD OBJECT command1 AS commandbutton WITH ;
		Top = 12, ;
		Left = 12, ;
		Height = 27, ;
		Width = 84, ;
		Caption = "Click me", ;
		Name = "Command1"
	Procedure command1.Click
		MessageBox("Click")
	EndProc
EndDefine
Next
Reply
Map
View

Click here to load this message in the networking platform