Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run time add value inside combobox
Message
De
09/07/2002 06:28:47
 
 
À
09/07/2002 05:58:22
Mazahir Naya
Kuwait United Co.
Kuwait, Kuwait
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00676500
Message ID:
00676507
Vues:
22
>hi
>thanks for reply
>i need to add value at runtime for example
>in my form i have one field payment mode so every time that payment mode is
>differnt (ex:- one month,45 days....etc.)so i need when new payment mode come
>that time user also add this value in combobox
>in my form paymentmode as a combobox
>thanks again

OK, you can use this.displayvalue to get the new entry that has been keyed in by the user. Eg
lcNewItem = this.displayvalue

How you add the new value to the combo box list depends on the rowsourcetype... grid, array list etc. If it is a native combo box list, use THIS.AddItem( lcNewItem)

Mace
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform