Simeon Mitev wrote:
Is it possible to replace the sort method for a TListView component? I am working on CLX project.
I want to sort the data by column wich contains numbers but the internal sort method sorts only by strings
and the result is .... not correct!

The VCL version of TListView has a CustomSort method, to which you can supply whatever comparison function you want. It also has an OnCompare method, which it uses be default. Check the help file to see whether the CLX version of the control has those same features.


--
Rob

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to