Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with ComboBox
Message
De
03/06/1999 16:01:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00226181
Message ID:
00226201
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>Hello everyone,
>
> Let me describe my problem:
>
> I have a table with Keystring - Unique field, Substitute - not Unique field (could be blank also). Other fields don't matter.
>
> I want to achieve following:
> A user has a possibility to add / change Keystring (I use TextBox) and for each KeyString has a possibility to select Substitute from the list or type something directly. I tried several kinds of comboboxes but still don't succeed, so I changed substitute to textbox also and everything works now (of course, now I always need to type and can not choose from the list). But I still want to know is where some way to do that I want?
>
> Thanks in advance

Combo with Style=0 (drop-down combo) allows to type and/or select. The trick here is that, if you type something which is not in list portion, the typed string never goes to Combo.Value. Instead, you should take it from Combo.Displayvalue
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform