D
Deena
Hello
Is there anyway that a parent form can be informed if a control on it has
focus? I could just inform the parent form on the controls "GotFocus" event
but this is not the ideal solution for me. It would mean adding code for
every control that I add to the form. And I want to create a base dialog
which will have the same behaviour througout my application. I.e. I can add
as many controls as I want and my form will always be aware which control
has focus.
Eg: I click on a text box "txtName" on a form. The form the control is on
immediately knows that "txtName" has focus....(then process that info)
Thanks in advance.
Deena.
Is there anyway that a parent form can be informed if a control on it has
focus? I could just inform the parent form on the controls "GotFocus" event
but this is not the ideal solution for me. It would mean adding code for
every control that I add to the form. And I want to create a base dialog
which will have the same behaviour througout my application. I.e. I can add
as many controls as I want and my form will always be aware which control
has focus.
Eg: I click on a text box "txtName" on a form. The form the control is on
immediately knows that "txtName" has focus....(then process that info)
Thanks in advance.
Deena.