Listview AllowColumnReorder

J

J M

When you set the Listview's property AllowColumnReorder to True, users can
reorder the columns (quite logical I guess)... Bus how on earth can I obtain
from code what order these columns are in??? I want to save these settings
(to the registry or to a file) so that the program can recall which order of
columns the user prefers....


Thanks


J Mous
 
J

J M

I think i didn't explain it right.

I want to get the order of the column headers, not the data itself in te
listview...

If I take windows explorer as an example,
you have the columns, filename, filetype, filesize, and so on and so on....
But, let's say for whatever reason I want to see the filesize as the first
column...
So I drag te column to the left and it is moved there. So now you've got:
filsize, filename, filetype, ..., ...

Sorting data in the columns by whatever column, I've already worked out...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top