Listview AllowColumnReorder

  • Thread starter Thread starter J M
  • Start date Start date
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
 
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...
 
Back
Top