General information
Category:
Coding, syntax & commands
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
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