Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine the object existed
Message
From
08/09/1999 22:21:26
Adam Weisberg
Adam Weisberg Consulting
Athens, Ohio, United States
 
 
To
31/08/1999 23:45:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260014
Message ID:
00262714
Views:
14
One way to do it is to have any control class necessary register themselves with the owning form, provided the owning form has a particular method, as judged by PemStatus(). So you PemStatus() from myctrl.Init() to see if Thisform has method m_registercontrol. If so, send it a:

Thisform.m_registercontrol(This)

Then m_registercontrol increases the dimensionality of a form property, say r_aoRegisteredObjects, and adds the object to it. It is a simple matter after that to see if a particular object is in your array or not.

Adam
Previous
Reply
Map
View

Click here to load this message in the networking platform