Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox input
Message
De
22/03/2016 15:57:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combobox input
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01633537
Message ID:
01633537
Vues:
114
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform