PDA

Click to See Complete Forum and Search --> : Combo box Oject


Zach Ahmed
May 11th, 2004, 04:12 PM
Hi All:
I am new to vb and to this thread. My question is as follow:
How can I create a combo box object inside a list view,add items to that object and finaly delete that object? The number of combo box object created depends on user input.

Thanks

TheBionicOrange
May 12th, 2004, 07:17 AM
As far as I am aware you can't put a combobox object inside a listview object.

Are you trying to get the affect of a dropdown list when on a certain column inside your listview ?

Zach Ahmed
May 12th, 2004, 07:26 AM
Yes, that is exactly what I want. My user wants to enter a qty and depending on the qty number, I need to generate that many combo boxes. The reason I want to use list box, is t allow the user scroll down and list the item from the combo box. That is why I need to create a combo box object inside a list view.

Any idesa???
Thanks

TheBionicOrange
May 13th, 2004, 09:03 AM
I think to achieve what you are after is to determine the row number of the listview, and make visible a combobox when they need it.

The Top and Left properties of the combobox would be determined by the top and left properties of the listview cell.

Its a bit of a frig, but it will achieve the effect you are after.

Not saying thats the only way, but thats how I would do it.

Zach Ahmed
May 13th, 2004, 03:05 PM
Thanks