Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to eliminate a default behaviour?
Message
From
04/12/2000 15:06:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
How to eliminate a default behaviour?
Miscellaneous
Thread ID:
00449025
Message ID:
00449025
Views:
70
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
Map
View

Click here to load this message in the networking platform