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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement