I don't know if this fits, but perhaps an alternative is not to sort
in the listbox, but to sort using "sortwith". Each column would be a
one-dimensional array. When the header is pressed, the press would be
captured and that dimension would become the 'sort' column of the
sort and all other dimensions become the 'sortwith' columns. After
the sort you would re-populate the listbox. You would also have the
arrays you desire.
John Kubie
On Jul 31, 2006, at 5:51 PM, Chuck Pelto wrote:
Which comes first? Which comes last? When is the sorting finished?
If one clicks on the header of a listbox and the sorting takes
place, at what point in the process is the sorting done?
Is it with the HeaderPressed? Is it with the SortColumn? Is it with
the Change?
I'm asking because after the sorting is accomplished, I'd like to
capture the re-sorted items in an array.
Doing capture at the HeaderPressed doesn't seem to capture the change.
Should it be done at the Change? Or someplace else?
Regards,
Chuck
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>