Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add new propertyI(vlad)
Message
 
 
À
02/07/2001 04:57:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00525781
Message ID:
00525827
Vues:
17
>Hi vlad,
>WHat i mean to say is that whenever i type "Creat Form myform" Enter
>then a form is created with the name myform and in the property of this form i should get a new property, so what i mean is that where should i create this new property, so that whenever i'll type "create form " and i'l get this prop.

PMFJI, but you can create a new Baseclass with your extra property and save it. While in the class designer, select Class - New Property. You can always specify the class you want to create from using the following syntax:

create form MyForm as MyClass from MyClassLib

The technique Vlad suggested is great when you always want to create from the same class. The above technique is good when you have multiple classes you want to inherit from or if you need to specify an exception. The same syntax can be used with any VFP class.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform