Windows Develop Bookmark and Share   
 index > Windows Forms Designer > ListView with widgets
 

ListView with widgets

Hi everyone,

I wonder if it is possible to allow widgets (custom controls) being the item of a ListView.
Essentailly, I have implemented a set of widgets for data input (for example, a widget with textbox and srollbar for integer/float datatype, a widget with both textbox, srollbar, and a interactive circle for angle datatype, and even for metrice (which more complicated widget).
I just wonder if it is possible to do that, so that I can take advantage of ListView Operations, otherwise, I`m afraid that I have to write a custom control which allows to contain widgets, and supports insert/delete/sort/move operations.

Any comment and suggestion would be very much appreciated.

Neruson
MigrationUser 1  Saturday, May 29, 2004 6:18 PM
The collection classes can hold any type of objects (at least that's my experience), what is displayed in many cases is that what <strong>ToString()</strong> produces on that object, so you might want to override that method on your type, figuring out what type of object is in the collection is a matter of using the <strong>GetType()</strong> method on the object.
MigrationUser 1  Sunday, May 30, 2004 12:31 PM

You can use google to search for other answers

Custom Search

More Threads

• Customize Progress Bar
• TextBox selection issue
• How can I get my Windows Forms Designer (in vb2005/.net Framework 2) started?
• Property Grid - displaying nested properties
• scrollable panels without a scroll bar
• have someone write a Line Control like the Line Control in VB?
• Visual Basic Defaults
• Setting default text property
• custom windows form design
• ActiveX control fine at runtime but fails in VS2005 designer