Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a property at runtime
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00358346
Message ID:
00358359
Views:
9
>I have the situation in which I need to property to a form at runtime based on certain conditions. The new property will be an array. Is this possible and what are the correct syntax.
>
>Thanks
>
>Milt

Hi Milt,

If it is VFP 6 you can

thisform.addproperty("amyArrayProperty[1]")

then you can
DIMENSION thisform.amyArrayProperty[25] && or whatever size you need.

If it is VFP5 you can use AddProp.FLL for this. (File#186 in Files section/Third Party Products)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform