Posted 29 December 2023, 6:32 am EST - Updated 29 December 2023, 8:50 am EST
PLEASE IGNORE THIS THREAD. IT WAS A BUG IN MY CODE.
I have an unbound C1List control with multiple columns.
The list items are added using AddItem() and AllowSorting = TRUE.
I am attempting to sort the list on the 3rd column like this:
myList.Sort(2, C1.Win.C1List.SortDirEnum.ASC)
However, in my form load event, after I finish populating the list, the SORT() call does not sort the list. When I call the SORT() command from a button press it works.
Why is the SORT() not working in my form load?
Thanks.
– Paul