Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for presence of an object
Message
From
29/01/2002 20:13:46
 
 
To
29/01/2002 12:58:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00612283
Message ID:
00612559
Views:
26
How about using VarType(ThisForm.ObjectName)?

It should return "O" if it exists and "U" if it doesn't.

Aloha,

James

>Hi. VFP7 user. I added objects to my form with 'AddObject'. I want to test for their presence, but the Type command returns a 'U' for them. How would I test?
>
>Thanks, Randy
Previous
Reply
Map
View

Click here to load this message in the networking platform