Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying combo box data
Message
From
21/05/1998 11:54:36
 
 
To
20/05/1998 11:32:22
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100430
Message ID:
00100854
Views:
34
FWIW, I had fun last week adding a property to my comboBox class for the name of the data entry form associated with the comboBox data. My right-click popup menu now includes an option to fire the data entry for the field. This has worked great for me, because a lot of times when the user needs to add an item to a list, they need to add more than just one bit of info. It's also turned out to be nice for getting the items you want to edit or deleted (like all my "test1", "test2" *s*).

In my valid, where I've been updating the list if an item is added, I can also call the form for the user right away.

>>>I have a simple combo box with the RowSourseType to to 6 and the RowSource set to Tax.Description. I also have the ControlSource set to Tax.Description. I would like to select from the combo box list and edit the selection in the combobox text box. I select fine, but the when I modify anything, the changes do not take effect. At this point there is no buffering. Am I missing a property setting here?
>>>
>>>Ed
>>
>>The ComboBox is normally used to select a value from the list and put it into the control source. It does not automatically update the list if you change the value or add a new value. If you want to do that you need to add your own code, most likely in the LostFocus method. The Value property of the combobox will contain your edited value.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform