Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a property at runtime
Message
From
11/04/2000 17:13:45
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00358346
Message ID:
00358368
Views:
12
>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.
>

Assuming VFP6, use the form's AddProperty method:

=thisform.AddProperty('jRandomArray[1]')
DIMENSION thisform.jRandomArray[whatever]

>Thanks
>
>Milt
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform