Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
in Combobox
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00066335
Message ID:
00066513
Views:
34
>I have a combobox with style set as a Dropdown List. If the user
>activates the combobox and moves through the choices the value
>changes. If the user presses the escape key the last highlighted
>choice is accepted. Is this VFP's intended behavior and, if so,
>is there a good way around it?

Edward told you how to trap the Escape key: what I'd suggest is saving
the current value to a custom property (or combo.Tag) in the GotFocus,
and restoring it in the Keypress after you trap and NODEFAULT the
Escape key.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform