Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with ComboBox
Message
From
03/06/1999 16:01:43
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00226181
Message ID:
00226201
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform