Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run time add value inside combobox
Message
From
09/07/2002 06:28:47
 
 
To
09/07/2002 05:58:22
Mazahir Naya
Kuwait United Co.
Kuwait, Kuwait
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00676500
Message ID:
00676507
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform