>Hi
>
>I have mycommand button that has a set of code that I m using in many forms, on the click event I have case statement, and I want that only on one form on a certain case it should execute code 2 commands that are not in the base class but in the command button click event
>
>Thanx
You don't have to subclass the mycommand button. Drop it on the form and put the code you want into Click method of the button. If in addition you want the code of the mycommand button to be executed, add DODEFAULT().
--sb--