Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
I guess what's not really clear is why this is all necessary. If the concept behind a Combobox is to select from a list or enter a value, why does it not handle that automatically? If I type a value in a Textbox I do not need to do a replace; the fact that I have it tied to a ControlSource is enough. I do understand why the AddItem would be used, but when do you need the AddListItem? It's a lot of coding to get the Combo to do what you would think would be native behaviour.
Renoir
>Yes, replace is required too:
>
>lcVal=this.DisplayValue
>REPLACE (this.ControlSource) with this.DisplayValue
>this.AddItem(this.DisplayValue)
>this.Refresh
>
>AddItem and AddListItem methods of combobox add items to the list in combobox that is displayed when you hit the combobox drop down arrow. What is not clear here?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only