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:
00701964
Views:
18
I guess it never escaped me because I never heard of PEMstatus. Reminds me of the Pemigewasset river up here in NH country. Anyway, still having trouble becasue if a control doesn't even exist, I cannot even refer to it.
Or am I not comprehending correctly.


>>It escapes me the syntax for checking for the existence of a control like a commandbutton. If...............?
>>
>>-TB
>
>How about
>
>IF VARTYPE(THIS.oControlName)="O"
>
>or
>
>IF TYPE("THIS.oControlName")="O"
>
>or
>
>IF PEMSTATUS(THIS,"oControlName",5)
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform