Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox & Dropdown working together
Message
 
 
To
10/04/2000 15:09:16
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357638
Message ID:
00357696
Views:
16
So, I don't understand why you just can't convert this to a dropdown combo. In a dropdown combo, you can display the current value of the bound field even if its value is not in the list. I have Dropdown combo example in the Files section. Click on the Files button in upper left frame. Go to the Classes/VCX Category. It is file #9596.

>I would like to present the user with a list of possible entries, while also allowing free entry of new values. This will be an upgrade to existing code based on a textbox. The problem with simply converting the textbox to the combobox is that the textbox is bound to a view field and used for display. (something the Combo can't do in this context)
>
>My solution is to leave the textbox functioning as before, and add the combobox such that the textbox appears to be the display area of the combo (but the actual combo control is only width=25)
>
>Is there a way to force the right part of the drop-list to align with the right side of the visible part of the combo control? (currently, the left side is aligning, which pushes the list past the edge of the screen) Alignment doesn't do it, probably because the combobox.alignment controls the formatting of the display area. (which isn't even visible) TIA
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform