Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00156692
Message ID:
00157065
Vues:
36
Colin,

Clever solution.

>I finally came up with a solution that is actually pretty simple and thought I'd pass it along.
>
>In the Combobox.KeyPress I put the following
>IF nKeyCode=5 OR nKeyCode=24     &&UPARROW or DNARROW
>	This.Style=0                                 &&Set Style to Dropdown Combo
>	DODEFAULT()
>ENDIF
>
>In the Combobox.Valid I put
>This.Style=2           &&Set Style to Dropdown List
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform