Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find out, if control is added during form's init or late
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00644956
Message ID:
00644989
Views:
15
>Hi,
>
>I'm currently wondering, if there is a way for a control to find out, if it is added dynamically during or after a form's init event is executed.
>
>Ok, I could add a flag property to the form and set it to .T. after the Init of the form has been run, but I would like to keep that independent from any form properties.
>
>Does anybody see a way how to find this out?
>
>Regards,
>Armin

I have a different idea. Put amembers(thisform.aMembBefore) in the first line of form's Init and at the last line in form's init. This way you would have array of objects, which were instantiated in design-time (before form's Init) and after.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform