Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Control not binding to ControlSource?
Message
 
To
26/02/1999 11:40:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00191990
Message ID:
00192247
Views:
20
Pascal,
You can enter new values when using a combo box, but the information will not automatically be part of the list. You must add the information to the list in the Valid() or LostFocus() methods.

I have found that if I am letting users enter new information that I have a textbox bound to the appropriate field, and an overlapping combo box. If the user clicks on the combo box 'button' it comes to the fore and drops down. In the combo box valid I sent it to the back and put the data into the textbox.

This is pretty simplified, but I hope it gives you the idea.

Barbara

>Hi All,
>
>This must be an easy question.
>
>I have a comboxbox control on a form.
>
>When users select a value from the drop-down everything
>works fine, but when the users type in a new value not
>part of the listed items, the value does not bind to the
>ControlSource.
>
>I must be setting something wrong.
>
>I was under the impression that a drop-down comboxbox could be used to enter data that is not part of the list.
>
>Thanks for your help
>
>Pascal
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform