Class TSortAStringGrid (unit SASG)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);



Functions

function Execute : Boolean;


procedure Notification(AComponent : TComponent; Operation : TOperation);


procedure AutoInitialize;


procedure BubbleSortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGridDate(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGridNumeric(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure QuickSortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


Properties

property CaseSensitiv : Boolean


property EndIndex : Integer


property GridToSort : TStringGrid


property HowToSort : SortType


property ShowMessageOnError : Boolean


property SortDirection : SortDirType


property SortIndex : Integer


property SortType : ToSortType


property StartIndex : Integer


Events

Variables

ErrorCode : Integer;


ErrorText : String;


FCaseSensitiv : Boolean;


FEndIndex : Integer;


FGridToSort : TStringGrid;


FHowToSort : SortType;


FShowMsg : Boolean;


FSortDir : SortDirType;


FSortIndex : Integer;


FSortType : ToSortType;


FStartIndex : Integer;



Constructors


constructor Create(AOwner: TComponent);


Functions


function Execute : Boolean;


procedure Notification(AComponent : TComponent; Operation : TOperation);


procedure AutoInitialize;


procedure BubbleSortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGridDate(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure qsortGridNumeric(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


procedure QuickSortGrid(sGrid : TStringGrid; StartIdx, EndIdx, SortIdx : Integer);


Properties


property CaseSensitiv : Boolean


property EndIndex : Integer


property GridToSort : TStringGrid


property HowToSort : SortType


property ShowMessageOnError : Boolean


property SortDirection : SortDirType


property SortIndex : Integer


property SortType : ToSortType


property StartIndex : Integer


Events


Variables


ErrorCode : Integer;


ErrorText : String;


FCaseSensitiv : Boolean;


FEndIndex : Integer;


FGridToSort : TStringGrid;


FHowToSort : SortType;


FShowMsg : Boolean;


FSortDir : SortDirType;


FSortIndex : Integer;


FSortType : ToSortType;


FStartIndex : Integer;