Link to home
Start Free TrialLog in
Avatar of marvinklein
marvinklein

asked on

custom list control

anybody have an idea/sample code for creating a custom control as in the example below:

http://www.nelladesign.com/temp/untitled.jpg

essentially, how do i customize the listbox or listview to display a collection of controls?
also, the collection of controls has to be databound, where each control represents a view of part of a row in a datatable...
a sample control with source would be amazing...

thanks...
ASKER CERTIFIED SOLUTION
Avatar of Shane Russell
Shane Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marvinklein
marvinklein

ASKER

yeah...

i realize i'm going to have to make a custom control...

but starting from scratch would be stupid.. i should definately inherit from listbox or listview controls...

i just haven't worked much with either of those controls...

oh, and this also has to be in vb.net
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Might I suggest putting a pointer question from the vb.net area to here :) That way you might get more response :)

I have not really used vb.net that much but isnt there an ADO combo box ? See if you can insert images into the combo box using a image list and inserting text next into it ?

Otherwise if that does not work then inherit from one of the ado controls and just add functionality to insert images and have text that can be typed next to each image as you require. Then that way you wont have to add the ADO functionality when you inherit it from the listbox, unless there is an ADO listbox or something like that.

The above is just me thinking out a loud so if they do not work then I will just watch this Q as this would be interesting to find out exactly how it is done and I am very sorry I can not be of more help to you !

kind regards

~GO
i understand the principle... basically, it's just tedious and complicated to get everything just right...

somebody must have made a control like this before, and i'm really just looking for the code...