Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBoxes Property
Message
From
06/03/2001 11:42:17
 
 
To
06/03/2001 11:31:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00482259
Message ID:
00482270
Views:
14
>I have a combo box with the value property being selected from an alias column.
>How do I allow the user to add a new value to the combo?
>I believe it is only a property needed to be changed.
>Please help,


You're a little vague in what you are doing here, but generally a new item is programmatically added to a combo usually in the Valid or Lostfocus of the combo using the AddItem() or AddListItem() methods. Often a test is also performed on the combo Value and DisplayValue properties to determine whether to add a new item. I.e. if Value and DisplayValue are not equal, user typed in something new so add it to the combo.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform