Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for existence of a control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00701952
Message ID:
00701958
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
>It escapes me the syntax for checking for the existence of a control like a commandbutton. If...............?
>
>-TB
How about something like:
IF LOWER(PEMStatus(ThisForm, 'cmdExit', 3)) = 'object'
   IF LOWER(ThisForm.cmdExit.BaseClass) = 'commandbutton'
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform