On Aug 21, 2006, at 6:06 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

Hi All.

I have taken data from a database I built and by binding it to a listbox, am now able to view it.

However, I am unable to sort it.

I have allowed for multiple lines, and done the following:

ListBox1.ColumnsortDirection(0)=ListBox.SortDescending
ListBox1.SortedColumn=0 //first column is the sort column
ListBox1.Sort

I click the header and the arrow changes, but even with everything selected nothing sorts.

Any ideas?

If you have used a binding (not loaded it manually) you cannot sort it clicking the headers any more.

It's why I tell people to not use a binding. It cripples the listbox built in functionality
_______________________________________________
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>

Reply via email to