Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlsource of combo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00034532
Message ID:
00035855
Vues:
55
>>
>>If I am using the combo alone, and doing it right, where am I adding the new value to the controlsource table, and where am I executing the combo.Additem() method?
>
>When a user types in a value into a combo box and hits enter and the value is not on the list of the combobox, the additem method should fire. In that method you need to put the code to add the current value to your control source (table, cursor, array etc). Then requery the combo box to update it from its controlsource.
>
>I also like to put a wait window saying 'Entry not on list, will add to list' so user knows he is creating a new entry on the list.
>
>HTH

I get it. I'll have to try that sometime. In my case, I'll probably keep my combo-textbox thing because I never wanted to add new stuff to the combo anyway. I just wanted it in the table. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform