Class TRxDrawGrid (unit RXCtrls)

Inherits from

TDrawGrid

Constructors


constructor Create(AOwner: TComponent);

TRxDrawGrid


Functions

destructor Destroy;


procedure DrawMasked(ARect: TRect; Graphic: TBitmap);


procedure DrawMultiline(ARect: TRect; const S: string; Align: TAlignment);


procedure DrawPicture(ARect: TRect; Graphic: TGraphic);


procedure DrawStr(ARect: TRect; const S: string; Align: TAlignment);


procedure InvalidateCell(ACol, ARow: Longint);


procedure InvalidateRow(ARow: Longint);


function CanEditAcceptKey(Key: Char): Boolean;


function CanEditShow: Boolean;


procedure ColWidthsChanged;


function CreateEditor: TInplaceEdit;


procedure EditButtonClick;


procedure EditChanged(Sender: TObject);


function GetEditAlignment(ACol, ARow: Longint): TAlignment;


function GetEditLimit: Integer;


function GetEditStyle(ACol, ARow: Longint): TInplaceEditStyle;


procedure GetPicklist(ACol, ARow: Longint; Picklist: TStrings);


procedure KeyDown(var Key: Word; Shift: TShiftState);


procedure RowHeightsChanged;


procedure SetEditText(ACol, ARow: Longint; const Value: string);


function GetStorage: TFormPlacement;


procedure IniLoad(Sender: TObject);


procedure IniSave(Sender: TObject);


procedure SetStorage(Value: TFormPlacement);


procedure WMCommand(var Message: TWMCommand);


Properties

property DefaultRowHeight :


property IniStorage : TFormPlacement


property Options :


property InplaceEditor :


Events

event OnAcceptEditKey : TAcceptKeyEvent


event OnCancelEdit : TNotifyEvent


event OnColumnSized : TNotifyEvent


event OnEditButtonClick : TNotifyEvent


event OnEditChange : TNotifyEvent


event OnGetEditAlign : TEditAlignEvent


event OnGetEditLimit : TEditLimitEvent


event OnGetEditStyle : TEditStyleEvent


event OnGetPicklist : TPicklistEvent


event OnRowSized : TNotifyEvent


event OnShowEditor : TEditShowEvent


Variables

FIniLink : TIniLink;


FNoUpdateData : Boolean;


FOnAcceptEditKey : TAcceptKeyEvent;


FOnCancelEdit : TNotifyEvent;


FOnColumnSized : TNotifyEvent;


FOnEditButtonClick : TNotifyEvent;


FOnEditChange : TNotifyEvent;


FOnGetEditAlign : TEditAlignEvent;


FOnGetEditLimit : TEditLimitEvent;


FOnGetEditStyle : TEditStyleEvent;


FOnGetPicklist : TPicklistEvent;


FOnRowSized : TNotifyEvent;


FOnShowEditor : TEditShowEvent;



Constructors


constructor Create(AOwner: TComponent);

TRxDrawGrid


Functions


destructor Destroy;


procedure DrawMasked(ARect: TRect; Graphic: TBitmap);


procedure DrawMultiline(ARect: TRect; const S: string; Align: TAlignment);


procedure DrawPicture(ARect: TRect; Graphic: TGraphic);


procedure DrawStr(ARect: TRect; const S: string; Align: TAlignment);


procedure InvalidateCell(ACol, ARow: Longint);


procedure InvalidateRow(ARow: Longint);


function CanEditAcceptKey(Key: Char): Boolean;


function CanEditShow: Boolean;


procedure ColWidthsChanged;


function CreateEditor: TInplaceEdit;


procedure EditButtonClick;


procedure EditChanged(Sender: TObject);


function GetEditAlignment(ACol, ARow: Longint): TAlignment;


function GetEditLimit: Integer;


function GetEditStyle(ACol, ARow: Longint): TInplaceEditStyle;


procedure GetPicklist(ACol, ARow: Longint; Picklist: TStrings);


procedure KeyDown(var Key: Word; Shift: TShiftState);


procedure RowHeightsChanged;


procedure SetEditText(ACol, ARow: Longint; const Value: string);


function GetStorage: TFormPlacement;


procedure IniLoad(Sender: TObject);


procedure IniSave(Sender: TObject);


procedure SetStorage(Value: TFormPlacement);


procedure WMCommand(var Message: TWMCommand);


Properties


property DefaultRowHeight :


property IniStorage : TFormPlacement


property Options :


property InplaceEditor :


Events


event OnAcceptEditKey : TAcceptKeyEvent


event OnCancelEdit : TNotifyEvent


event OnColumnSized : TNotifyEvent


event OnEditButtonClick : TNotifyEvent


event OnEditChange : TNotifyEvent


event OnGetEditAlign : TEditAlignEvent


event OnGetEditLimit : TEditLimitEvent


event OnGetEditStyle : TEditStyleEvent


event OnGetPicklist : TPicklistEvent


event OnRowSized : TNotifyEvent


event OnShowEditor : TEditShowEvent


Variables


FIniLink : TIniLink;


FNoUpdateData : Boolean;


FOnAcceptEditKey : TAcceptKeyEvent;


FOnCancelEdit : TNotifyEvent;


FOnColumnSized : TNotifyEvent;


FOnEditButtonClick : TNotifyEvent;


FOnEditChange : TNotifyEvent;


FOnGetEditAlign : TEditAlignEvent;


FOnGetEditLimit : TEditLimitEvent;


FOnGetEditStyle : TEditStyleEvent;


FOnGetPicklist : TPicklistEvent;


FOnRowSized : TNotifyEvent;


FOnShowEditor : TEditShowEvent;