>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