I´m using a dll with a form inside where I have a Panel to dock some forms inherited from another form.
What I do is the following:
This goes OK. The problem is that I have a event to manage the keys in the ancestor form of Form1, where I need to know which Control is tha actual ActiveControl. So, what I do is to say to the main form that his event, for example, OnKeyDown is the OnKeyDown event of Form1 but when the call to the event is made Form1 always says that ActiveControl is nil. Only when form1 is docked.
I don´t know what to do because I need that property.
Please if somebody can help it´ll be very useful.
Thank you in advanced.