Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if an object exists
Message
From
08/05/1998 15:55:33
 
 
To
08/05/1998 15:27:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098172
Message ID:
00098191
Views:
26
>is there a function or way to determine if an object existson a form, like wexist() does for windows? TIA

Use AMEMBERS(laObjects, oForm, 2). This will produce a one-dimensional array laObjects with the name of all objects from oForm (your form name). You can then loop through the array looking for a specific object name.
Previous
Reply
Map
View

Click here to load this message in the networking platform