Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From the Visual Designer to Code
Message
De
19/08/2004 10:14:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
From the Visual Designer to Code
Divers
Thread ID:
00934498
Message ID:
00934498
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform