Kevin,
The child class inherit the parent class objects.
So, delete the cmdOk button from the child form.
The cmdOk button will still be there on the child form since it will be inherited from the parent class.
You can put code in the parent class cmdOk.Click() which will be
automatically called when clicking on the cmdOk of the child form.
You can always override the cmdOk.Click() default behavior by
putting code in the cmdOK.Click() in the child form.
HTH
Pascal
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only