>Marc,
>
>I'd try putting it in my cForm.ActiveControl_Assign. That would encapsulate it to each form. We still can't attach to _screen unless you are using a top-level form.
Ah. Yes. Makes sense.
>
>I don't like that thought of putting the same code in to all baseclasses either because it makes the classes more tightly coupled. You could use a Hook pattern in GotFocus() to minimize the required method code impact and reduce duplicated code.
You're saying that hooking to a common class is less tight? Hmm. That could be an interesting debate :). Pity that the controls do not have a common ancestor though.
Thanks for your help.
Regards,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.