I have an interesting problem. I have a set of records in a data table
organized by a simple key. What I want to do is represent these records as
icons on a horizontally oriented control in asending order. Furthermore, I
want to be able to use this display to reorganize the order of the records in
the data table. i.e. If the control is displaying item1, item2, item3, I
want to be able to select item2 and drag it to the left so that the new order
in the data table is item2, item1, item3.
Also I want the control to have horizontal scrolling capability because
there will almost certainly be more than a few of these items.
I have some old code that I might be able to adapt but I'd like to see other
options. Any ideas?
Juanma Mtnez - 27 Sep 2007 14:21 GMT
Hi, Chernick:
Possibly you can do it using a ListView control, which gives you some icon
reordering funcionallity builted-in.
Other alternative is to implement your own container control to host all de
icons and programming drag-drop to them, but maybe the first solution fits
better to you.
Hope this to be useful to you.
> I have an interesting problem. I have a set of records in a data table
> organized by a simple key. What I want to do is represent these records as
[quoted text clipped - 9 lines]
> I have some old code that I might be able to adapt but I'd like to see other
> options. Any ideas?
B. Chernick - 27 Sep 2007 14:47 GMT
Actually I'm hacking the ListView control right now. Unfortunately it seems
capable of only vertical scrolling (although come to think of it, that might
do.)
> Hi, Chernick:
>
[quoted text clipped - 20 lines]
> > I have some old code that I might be able to adapt but I'd like to see other
> > options. Any ideas?
Robbe Morris - [MVP] C# - 27 Sep 2007 14:37 GMT
Most datagrid controls make this functionality easy to implement.

Signature
Robbe Morris [Microsoft MVP - Visual C#]
.NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes
http://www.eggheadcafe.com/tutorials/aspnet/270e9432-d236-47e7-b1af-5cd3abe27a75
/net-propertygrid-control.aspx
>I have an interesting problem. I have a set of records in a data table
> organized by a simple key. What I want to do is represent these records
[quoted text clipped - 14 lines]
> other
> options. Any ideas?