Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a new property on a existing form in code
Message
From
24/09/1997 17:04:18
 
 
To
24/09/1997 16:59:33
Frank Shaw
Runestones Development Corporation
Ipswich, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051481
Message ID:
00051484
Views:
31
>I need I code to create a new properity to a exist form I think I have to do it in the INIT event of the
>form how can I do it in code and what would the code look like, I want to get ride of some
>of the public variables and the only way for me to control them is to attach them is
>new properities of a form which has been created already.
>
>Thanks
>fshaw@runestones.com

If you really don't want to add new properties in Design mode, then you can always create new class (DEFINE CLASS) with appropriate set of properties and instanciate this class anytime you want using (CREATEOBJECT or Form.AddObject)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform