Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box list popup
Message
 
 
À
30/01/2002 14:33:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00612973
Message ID:
00613369
Vues:
15
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform