>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
*Control.init
program(program(-1)-1)
would return formname.init if instantiated from form.init
Cetin