Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to eliminate a default behaviour?
Message
De
04/12/2000 15:06:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
How to eliminate a default behaviour?
Divers
Thread ID:
00449025
Message ID:
00449025
Vues:
66
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
Fil
Voir

Click here to load this message in the networking platform