954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help ASAP!

Hello...
I need to transfer the contents of a combo box into my list box..how do i do that?
my list box is empty.and everytym i select something from my combo box..the previous value in list box should not be erased.It shoud keep on adding to the previously updated value..Please Help!:)

Quenchy coder
Newbie Poster
6 posts since Oct 2011
Reputation Points: 6
Solved Threads: 0
 

Somebody please help me.Its pretty urgent!!!

Quenchy coder
Newbie Poster
6 posts since Oct 2011
Reputation Points: 6
Solved Threads: 0
 

The Combo Box has a Click Event. When a value in the Combo List Box is clicked, it raises the Combo_Click() Event. Select the Combo1 Control from the Control List box on the left hand side of the IDE. And then click on the Combo_Click Event. That should set code for the Click Event in the IDE editor.

Within that Click Event Write code to Add the contents of the currently selected item into the list box. The action of clicking on the Combo Box should set the current selection to the value you want to transfer to the List Box. The ListBox has an add function which you should use to add the value of the combo box to the list box.

You should be able to figure it out from there.

hkdani
Posting Pro in Training
435 posts since Nov 2007
Reputation Points: 49
Solved Threads: 47
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You