Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox input
Message
From
22/03/2016 15:57:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combobox input
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01633537
Message ID:
01633537
Views:
113
I want to use a combobox for two purposes. On is fro choosing an option from a file, and the other is, if the user's option isn't in the file, they can type the otion into the 'textbox' part of the combo, and I can take care of adding it to the file in the lostfocus event. Problem is that either the first record value sits in that box and it will not take input, or it acts as a search box, and if you type the first letter of one of the records in the file, it pops that value into the box. I have tried as many combinations of controlsource, rowsource and rowsourcetype as there are, and nothing works. Any ideas will me greatly appreciated! I have always just used a combobox as somethign to select from, but I am trying to avoid a separate 'add another option to the file' screen, if at all possible, but taking care of adding new options via the combobox.
Next
Reply
Map
View

Click here to load this message in the networking platform