On Thu, Apr 26, 2012 at 20:02, Koenraad Lelong <[email protected]> wrote:
> Hi,
>
> I would like to implement sorting of columns with a TDBGrid. I found how to
> detect a click of the title, so that's OK.
> However, in Delphi there are components where I can modify the title showing
> the sorting order of the field (a small triangle pointing up or down on the
> right of the colums' title). Is this implemented in TDBGrid ? I could add a
> v or ^ to the title to indicate the sorting order, but that's not nice to
> see.
>
> I'm using Lazarus 0.9.30.4 on Windows.

Use TitleImageList and Column.Title.ImageIndex

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to