Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add new propertyI(vlad)
Message
 
 
To
02/07/2001 04:57:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00525781
Message ID:
00525827
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform