General information
Category:
Object Oriented Programming
Title:
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.
Next
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