P
Piotrek Stachowicz
Hi there,
I'd like to display list of items in my form. Each item has 3 properties
i.e.
description , picture (1 of 3 kinds), and url. I want to display it in nice
way, e.g.
every second row should have different background, additionaly I'd like the
background to change (3rd color) when mouse is hovering over the row.
Moreover I'd like to support drag 'n' drop on each item. User cannot change
anything on the list.
I have already created a form which does all these things but it isn't
very efficient. I just created a panel, and for each row of data I created a
few controls, each time setting proper size and location , and proper event
handlers (for hovering, and drag'n'drop).
I'm sure there is a way to do it better, for instance using listview or
datagrid. Data to be displayed are placed in DataTable but I'd rather use
listview (datagrid seems to be harder to display data the way I want).
If you have any suggestions/ideas , please.
Regards,
Piotrek Stachowicz
I'd like to display list of items in my form. Each item has 3 properties
i.e.
description , picture (1 of 3 kinds), and url. I want to display it in nice
way, e.g.
every second row should have different background, additionaly I'd like the
background to change (3rd color) when mouse is hovering over the row.
Moreover I'd like to support drag 'n' drop on each item. User cannot change
anything on the list.
I have already created a form which does all these things but it isn't
very efficient. I just created a panel, and for each row of data I created a
few controls, each time setting proper size and location , and proper event
handlers (for hovering, and drag'n'drop).
I'm sure there is a way to do it better, for instance using listview or
datagrid. Data to be displayed are placed in DataTable but I'd rather use
listview (datagrid seems to be harder to display data the way I want).
If you have any suggestions/ideas , please.
Regards,
Piotrek Stachowicz