[Lazarus] Sorting StringGrid by column click

Alexander Klenin klenin at gmail.com
Fri May 13 15:43:22 CEST 2011


On Sat, May 14, 2011 at 00:26, Juha (gmail) <juha.manninen62 at gmail.com> wrote:
> Which way is better? I think the Descending-sort code is always identical:
>    if SortOrder=soDescending then
>      result:=-result;
> and it could be better if users don't need to worry about it.

Of course.

-- 
Alexander S. Klenin




More information about the Lazarus mailing list