Information générale
Catégorie:
Programmation Orientée Object
Titre:
How to eliminate a default behaviour?
Hi,
I'm using a subclass of the ComboBox control in VFP and I'd like to be the one controlling the DisplayValue. How can I stop VFP from entering the characters that the user is typing in the ComboBox? For example, every time I wrote code in a method of a subclass, VFP executed only the code of the subclass and not the code written in the corresponding method of the parent class. I thought that if I wrote code in the KeyPressed event of my subclass, that it would in fact "overwrite" the normal behaviour of this event (which I thought was to echo the character that was typed in the ComboBox) but it doesn't! What should I try next?
Thanks a lot in advance, Stephane.
Suivant
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