Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How to add a Control to a ListBox ?
 

How to add a Control to a ListBox ?

Hello all

Is their a way to add Control to a ListBox?

what I'm tring to do is create a listbox with edit option inside it, so user will be able to edit the selected item inside the lisbox, and for that I need to add a TextBox on that location.

Is their a way?
I know I can add the control to the ListBox container but this is not the best practice for it.

Thanx.
MigrationUser 1  Sunday, May 22, 2005 7:01 PM
what about trying to fake a ListBox control by using a single column ListView or a single column DataGrid. By doing this, you can grap the position and size of the row that you clicked on; and locate your TextBox in the right area.
MigrationUser 1  Thursday, June 02, 2005 8:51 AM
I think I have no choice but to do it this way... Thanx.
MigrationUser 1  Tuesday, June 07, 2005 12:19 PM

You can use google to search for other answers

Custom Search

More Threads

• Docking in windows 2005 using vb.net
• any way to determine if a control is a "container"
• Help about popup control
• Bug? Accept/CancelButton properties reset with inherited textbox control on form
• Hi can some one help me on this ( its not a big question )
• A component does not recognize if it is in design mode!, a bug?
• How to add an event for dynamically generated label in c# windows application
• Control Similar to IE Address Bar
• List<string> Can not be edited?
• Extending a control....