Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I know If a Object exist?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00159912
Message ID:
00160065
Views:
21
>I'd like to know i a Object exist on my form when I call it.
>For Example: I'd like to know if "command1" exist

Another way, with less code is
? TYPE('objectname' + .name) = 'C'

Null objects don't have a name. All other VFP objects do.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform