Thanks Arnaud,
That should work fine.
Michael.
On Dec 12, 2006, at 9:19 AM, Arnaud Nicolet wrote:
Then, use a property in the window. For example: "AllowSorting As
Boolean".
Now, in the Listbox.SortColumn event, put:
Return Not AllowSorting
Then, when you want to sort:
AllowSorting=true
TheListbox.Sort
AllowSorting=false
Hope this helps
Le 12 déc. 06 à 18:13 Soir, Michael a écrit:
Hi everyone,
Is it possible to allow my own methods to use the sort method of a
listbox, but not to allow the user to do so? When I tried
returning "True" for the "SortColumn" event, I was unable to sort
the listbox from a method.
So, I guess is what I am asking is how to toggle the sort method
so it only works "internally" and not externally (for the user)?
_______________________________________________
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>