Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does form exists?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394154
Message ID:
00394163
Views:
13
>>Hi, all! Please answer which function can determinate does object (in my sample form) exists or not. Thank you. Andrew
>
>If you're checking on a object in a form, use the PEMSTATUS() function. If you want to know if a form exists, you can check the _SCREEN.FORMS collection.

Also you can check if

TYPE("thisform.myobject")= "O"

and check for !ISNULL(thisform.myobject)
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