Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From the Visual Designer to Code
Message
From
19/08/2004 10:14:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
From the Visual Designer to Code
Miscellaneous
Thread ID:
00934498
Message ID:
00934498
Views:
52
From the class browser, does not work, why?
I suspect is the container but how can I run without error?
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN


	**************************************************
*-- Form:         form1 (c:\windows\profiles\jtempo\escritorio\appes_21\testcnt.scx)
*-- ParentClass:  form
*-- BaseClass:    form
*-- Time Stamp:   08/19/04 10:52:12 AM
*
DEFINE CLASS form1 AS form


	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT container1 AS container WITH ;
		Top = 29, ;
		Left = 56, ;
		Width = 238, ;
		Height = 172, ;
		Name = "Container1"


	ADD OBJECT form1.container1.command1 AS commandbutton WITH ;
		Top = 36, ;
		Left = 10, ;
		Height = 58, ;
		Width = 208, ;
		Caption = "Command1", ;
		Name = "Command1"


ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform