Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding object properties at runtime.
Message
 
To
12/06/1997 09:59:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00036082
Message ID:
00036147
Views:
29
>If there is no such way, does anyone know of a workaround, besides defining the properties before loading the class? There's an FLL floating around called AddProp that does what you want although this is not proper OO design <s>... As was suggested by Edward a good way to do this is to use Collections and add key/value pairs to them whenever you need new property values. I've also used a state table that uses a file to more permanently store state information, which is useful for Web applications when tracking users through a site. Regards,
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform