The code in the second instance is fired in both objects. A Curious anomaly indeed.
>1. Create a form class called 'Base'.
>2. Create a subclass of 'Base', call it 'Subclass'
>3. Add a command button to 'Subclass' called 'command1'
>4. Close 'Subclass', open 'Base' and add a command button called 'command1'
>5. Close 'Base', open 'Subclass', and you have a form
>with 2 command buttons, both called 'command1'
>
>So which button is called with "ThisForm.Command1.Click()"?
kenweber
GCom2 Solutions
Microsoft Certified Professional