Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check if a Control exists
Message
 
To
04/02/2010 04:45:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01447426
Message ID:
01447433
Views:
37
Hi Gregory... thanks for replying.
Regards,
Gerard



>>Hi.
>>I want to know if a control exists on a form .
>>e.g. Pseudo Code:
>> If Exists(Thisform.MyTextBox)
>> Return .t.
>>Else
>> Return .f.
>>Endif
>>
>>Tia
>>Regards,
>>Gerard
>
>
>
>?pemstatus(m.thisform, 'MyTextBox', 5)
>
>
>or
>
>?inlist(vartype(m.thisform.MyTextBox), 'O')  && ?inlist(vartype(m.thisform.MyTextBox), T_OBJECT)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform