Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating a Form with by a PRG
Message
De
10/08/1999 15:33:51
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00252153
Message ID:
00252183
Vues:
10
Claudio-
Here's an example. What I did was issue
CREATE FORM temp
from the command window. I saved the form, then opened it in the classbrowser, and viewed the code. Then I cut&paste that code into a new prg. I added the Createobject() and show() code to run the form. HTH
LOCAL ox 
ox = CREATEOBJECT( 'form1' )
ox.show(1)

**************************************************
*-- Form: form1 (c:\nec\temp.scx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 08/10/99 01:32:12 PM
*
DEFINE CLASS form1 AS form


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


ENDDEFINE
*
*-- EndDefine: form1
**************************************************
.Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform