Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box list popup
Message
 
 
To
30/01/2002 14:33:37
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00612973
Message ID:
00613369
Views:
14
Hi Peter,

You can try to bypass combo by returning .F. in it's WHEN Event. To drop combo down on entry add following code to the combobox's GotFocus event
KEYBOARD "{F4}" PLAIN CLEAR
>I'm trying to trigger a combobox's list upon invalid entry (of type 0-Dropdown
>Combo ). Now I know that I could use type 2-dropdown, but then if you try to
>arrow down to move to the next field, it triggers the next item in the list and
>changes the value of the combo.
>
>I'm really stuck here. The behavior I'm trying to create is a validated combo
>that can be bypassed if I allow blanks or trigger an error message and pop up
>the list of values for my combo. I am considering writting a container that has
>a textbox, a command button and possiably a grid or a combobox (if I can get the
>combobox to automatically pop up its list of values.)
>
>Thanks in advance
>
>Peter Huppelschoten
>C-Views Software Inc.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform