Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

DelphiTips.SortedHeaderControl

Custom HeaderControl with sorting properties

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

DelphiTips.SortedHeaderControl

Custom HeaderControl with sorting properties

Add the Execute.SortedHeaderControl.pas unit in the uses of your form to change THeaderControl behavior

  • SortIndex is the column index where an arrow is displayed
  • negative SortIndex for descending order
  • OnCanSort let you disable a column sorting
  • OnSort is called when SortIndex changes

demo