Nope. You have to subclass the base class. OIC, you already have a lot of forms created..hmmm....well, you could reroute Got and LostFocus to a custom object with the SynchToolBar method and that would reduce a bit the amount of coding. But I would seriously think about making the effort now to get the forms out of the base class into a subclass that you can modify. It'll be worth the effort in the long run.
>Hey John.
>
>Thanks for you tip, now. I don't has a form class i'm ussing the base class,
>can i modified this class? because i don't want to add the method to the forms one by one (hell of work, he)...
>
>Thank you.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05