Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create form from .PRG code
Message
De
18/04/2006 22:35:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Create form from .PRG code
Divers
Thread ID:
01114462
Message ID:
01114462
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform