Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do I have a parent?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Do I have a parent?
Miscellaneous
Thread ID:
00384583
Message ID:
00384583
Views:
59
What is the best way to tell if an object has a parent? If you check the VARTYPE(This.Parent) you get a FoxPro error if the parent doesn't exist. The PEM exists but you can't check its VARTYPE. The only KLUGE I have been able to come up with is to check if the UPPER of the Object Hierchary = the UPPER of the Object Name. Is there a better way?
Thanx,
Bill Elvin
Next
Reply
Map
View

Click here to load this message in the networking platform