General information
Title:
Custom Class VCX Parent Class Reference
Environment versions
Network:
Windows 2003 Server
I have a custom class (.vcx) that I used in code (CREATEOBJECT(.....)) and also by dropping the class in forms.
In the init of the form I have code that runs all the time. The problem is that in this code I reference thisform.
When I create a object with CREATEOBJECT(.....) i don't have a form as a parent class for the object and the code crash. I can't use try...catch with a VARTYPE(object.parent) because class is used in vfp7 and vfp9 environment.
I couldn't find a command that can tell me if the object has a parent class or not.
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only