Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically activate the drop down list in a Combo B
Message
De
30/03/2001 06:16:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/03/2001 01:36:31
F. Bennett Swenson
Sundance Aerial Photography
Hurst, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00490222
Message ID:
00490243
Vues:
11
>Is there a way to cause the drop down list of a Combo Box to "pop up" (or "pop down") when
>the user tries to enter a blank in its input field?
>
>I'd like to use something like "thisform.comobox1.ActivateDropDownList = .T.",
> when the combo box looses focus AND Lastkey() = 13.
>
>Does any such property or command exist for the Combo Box?
>
>TIA
>
>F. Bennett Swenson

You could use keypress if specifically [Enter] controlled and stuff alt+downarrow keyboard buffer.
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
 nodefault
 keyboard "{ALT+dnarrow}"
endif
If you'd use instead lastkey() then be sure to inlude :

and !MDOWN()

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform