On Jan 9, 2006, at 4:02 PM, Jonathon Bevar wrote:
Ok, my next question is how do I make a Header be able to sort?
I have the following columns with the Header names of:
Patient # Patient Name Revision No. Revision Date
Ok, how can I sort the columns for the Pateint Name and the
Revision No. ? I want it so the Names are in Accending order ( A to
Z) and the Revision No are in Deccending order (Largest No to the
Smallest No). Of course this depends on which header is clicked on.
As long as the Listbox header is visible, it will automatically sort
when a user clicks on the header.
The only issue is that numbers will sort alphabetically instead of
numerically. If for any reason you want different behavior than the
default alphabetic sort, then you will need to implement the
CompareRows event... and there is an example of this in the Language
Reference.
_______________________________________________
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>