Adding valuse to a combo box base on a value list 
Author Message
 Adding valuse to a combo box base on a value list

Hi :-)

I'm trying to create a sub or function that will allow the user to add an
item to a combo box (which is normally locked, but can be edited by clicking
on an edit button, which runs a procedure to unlock the combo box.)  Now I
need to be able to add data to the value list.  Does any one have any
suggestions as to adding data to the value list?  Any help, suggestions,
code examples would be much appreciated.




Sat, 01 Nov 2003 04:59:51 GMT  
 Adding valuse to a combo box base on a value list
Since the value list is a simple string, delimited with semicolons, you can
add an item by extending the string.

I made a StringObj class once (it is on my site) to maintain these items
somewhat more easily. If you can use it, fine: do so. If you need
extensions to that class, please inform me.

If you don't know how to use it, you can mail me for more structural
support on that class.

--
Bas Cost Budde
website at http://utopia.knoware.nl/users/hegedu



Quote:
> Hi :-)

> I'm trying to create a sub or function that will allow the user to add an
> item to a combo box (which is normally locked, but can be edited by
clicking
> on an edit button, which runs a procedure to unlock the combo box.)  Now
I
> need to be able to add data to the value list.  Does any one have any
> suggestions as to adding data to the value list?  Any help, suggestions,
> code examples would be much appreciated.





Sat, 01 Nov 2003 16:55:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. enter data in a combo box based on value from another combo box

2. Adding the alphabet in a list box or combo list

3. Looking up values in table based on combo list

4. adding to a combo box or list box

5. Cetting A Report To Select Records Based Upon A Value Selected In A Combo Box

6. ***** Question: Finding a record based on the selection from a Combo Box or List

7. Vb Combo list box and Table Data base

8. ***** Question: Finding a record based on the selection from a Combo Box or List

9. How to add treeview nodes based on a directory list box

10. How to list macro names in a combo box or a list box

11. Default value for dropdown combo list box?

12. Help with Combo Box and Adding New Values

 

 
Powered by phpBB® Forum Software