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.
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 mean _screen.activeform.activecontrol.name.accessor(), that is triggered each time vfp changes the vale of the name of the activecontrol?
>
>Right! But VFP6 has not landed on my PC yet :(. But you're right, that would be nice, because having controls registering themselves in the form would mean that I have to code that in each base class, and containers (grids, pageframes etc...) would definitely pose problems I do not even want to look into at this stage.