| Class TRxDBGrid (unit RXDBCtrl) |
TDBGrid
obsolete
| Constructors |
constructor Create(AOwner: TComponent);| Functions |
procedure DefaultDataCellDraw(const Rect: TRect; Field: TField;
State: TGridDrawState);
destructor Destroy;
procedure DisableScroll;
procedure EnableScroll;
procedure GotoSelection(Index: Longint);
procedure MouseToCell(X, Y: Integer; var ACol, ARow: Longint);
procedure RestoreLayout(IniFile: TIniFile);
procedure RestoreLayoutReg(IniFile: TRegIniFile);
procedure SaveLayout(IniFile: TIniFile);
procedure SaveLayoutReg(IniFile: TRegIniFile);
function ScrollDisabled: Boolean;
procedure SelectAll;
procedure ToggleRowSelection;
procedure UnselectAll;
function CanEditShow: Boolean;
procedure CheckTitleButton(ACol: Longint; var Enabled: Boolean);
procedure ColWidthsChanged;
function CreateEditor: TInplaceEdit;
procedure DoTitleClick(ACol: Longint; AField: TField);
procedure DrawCell(ACol, ARow: Longint; ARect: TRect; AState: TGridDrawState);
procedure DrawColumnCell(const Rect: TRect; DataCol: Integer;
Column: TColumn; State: TGridDrawState);
procedure DrawDataCell(const Rect: TRect; Field: TField;
State: TGridDrawState);
procedure EditChanged(Sender: TObject);
procedure GetCellProps(Field: TField; AFont: TFont; var Background: TColor;
Highlight: Boolean);
function HighlightCell(DataCol, DataRow: Integer; const Value: string;
AState: TGridDrawState): Boolean;
procedure KeyDown(var Key: Word; Shift: TShiftState);
procedure KeyPress(var Key: Char);
procedure LayoutChanged;
procedure MouseDown(Button: TMouseButton; Shift: TShiftState;
X, Y: Integer);
procedure MouseMove(Shift: TShiftState; X, Y: Integer);
procedure MouseUp(Button: TMouseButton; Shift: TShiftState;
X, Y: Integer);
procedure Paint;
procedure Scroll(Distance: Integer);
procedure SetColumnAttributes;
procedure TopLeftChanged;
function AcquireFocus: Boolean;
function ActiveRowSelected: Boolean;
function GetFixedCols: Integer;
function GetImageIndex(Field: TField): Integer;
function GetOptions: TDBGridOptions;
function GetRowsHeight: Integer;
function GetSelCount: Longint;
function GetStorage: TFormPlacement;
function GetTitleOffset: Byte;
procedure IniLoad(Sender: TObject);
procedure IniSave(Sender: TObject);
procedure RestoreColumnsLayout(IniFile: TObject);
procedure SaveColumnsLayout(IniFile: TObject);
procedure SetFixedCols(Value: Integer);
procedure SetMultiSelect(Value: Boolean);
procedure SetOptions(Value: TDBGridOptions);
procedure SetRowsHeight(Value: Integer);
procedure SetShowGlyphs(Value: Boolean);
procedure SetStorage(Value: TFormPlacement);
procedure SetTitleButtons(Value: Boolean);
procedure StopTracking;
procedure TrackButton(X, Y: Integer);
procedure WMCancelMode(var Message: TMessage);
procedure WMChar(var Msg: TWMChar);| Properties |
property ClearSelection : Boolean
property DefaultDrawing : Boolean
property FixedCols : Integer
property IniStorage : TFormPlacement
property MultiSelect : Boolean
property Options : TDBGridOptions
property RowsHeight : Integer
property ShowGlyphs : Boolean
property TitleButtons : Boolean
property Canvas :
property Col :
property IndicatorOffset :
property InplaceEditor :
property LeftCol :
property Row :
property SelCount : Longint
property SelectedRows :
property TitleOffset : Byte
property VisibleColCount :
property VisibleRowCount : | Events |
event OnCheckButton : TCheckTitleBtnEvent
event OnEditChange : TNotifyEvent
event OnGetBtnParams : TGetBtnParamsEvent
event OnGetCellParams : TGetCellParamsEvent
event OnGetCellProps : TGetCellPropsEvent
event OnKeyPress : TKeyPressEvent
event OnMouseDown :
event OnMouseMove :
event OnMouseUp :
event OnTitleBtnClick : TTitleClickEvent| Variables |
FClearSelection : Boolean;
FDefaultDrawing : Boolean;
FDisableCount : Integer;
FFixedCols : Integer;
FIniLink : TIniLink;
FMsIndicators : TImageList;
FMultiSelect : Boolean;
FOnCheckButton : TCheckTitleBtnEvent;
FOnEditChange : TNotifyEvent;
FOnGetBtnParams : TGetBtnParamsEvent;
FOnGetCellParams : TGetCellParamsEvent;
FOnGetCellProps : TGetCellPropsEvent;
FOnKeyPress : TKeyPressEvent;
FOnTitleBtnClick : TTitleClickEvent;
FPressed : Boolean;
FPressedCol : Longint;
FSelecting : Boolean;
FSelectionAnchor : TBookmarkStr;
FShowGlyphs : Boolean;
FSwapButtons : Boolean;
FTitleButtons : Boolean;
FTracking : Boolean;| Constructors |
constructor Create(AOwner: TComponent);TRxDBGrid
| Functions |
procedure DefaultDataCellDraw(const Rect: TRect; Field: TField;
State: TGridDrawState);
destructor Destroy;
procedure DisableScroll;
procedure EnableScroll;
procedure GotoSelection(Index: Longint);
procedure MouseToCell(X, Y: Integer; var ACol, ARow: Longint);
procedure RestoreLayout(IniFile: TIniFile);
procedure RestoreLayoutReg(IniFile: TRegIniFile);
procedure SaveLayout(IniFile: TIniFile);
procedure SaveLayoutReg(IniFile: TRegIniFile);
function ScrollDisabled: Boolean;
procedure SelectAll;
procedure ToggleRowSelection;
procedure UnselectAll;
function CanEditShow: Boolean;
procedure CheckTitleButton(ACol: Longint; var Enabled: Boolean);
procedure ColWidthsChanged;
function CreateEditor: TInplaceEdit;
procedure DoTitleClick(ACol: Longint; AField: TField);
procedure DrawCell(ACol, ARow: Longint; ARect: TRect; AState: TGridDrawState);
procedure DrawColumnCell(const Rect: TRect; DataCol: Integer;
Column: TColumn; State: TGridDrawState);multiselected and current row } {$IFDEF WIN32
procedure DrawDataCell(const Rect: TRect; Field: TField;
State: TGridDrawState);
procedure EditChanged(Sender: TObject);obsolete from Delphi 2.0
procedure GetCellProps(Field: TField; AFont: TFont; var Background: TColor;
Highlight: Boolean);
function HighlightCell(DataCol, DataRow: Integer; const Value: string;
AState: TGridDrawState): Boolean;
procedure KeyDown(var Key: Word; Shift: TShiftState);
procedure KeyPress(var Key: Char);
procedure LayoutChanged;
procedure MouseDown(Button: TMouseButton; Shift: TShiftState;
X, Y: Integer);
procedure MouseMove(Shift: TShiftState; X, Y: Integer);
procedure MouseUp(Button: TMouseButton; Shift: TShiftState;
X, Y: Integer);
procedure Paint;
procedure Scroll(Distance: Integer);
procedure SetColumnAttributes;
procedure TopLeftChanged;
function AcquireFocus: Boolean;
function ActiveRowSelected: Boolean;Allow editing of memo fields if OnSetText and OnGetText events are assigned
function GetFixedCols: Integer;
function GetImageIndex(Field: TField): Integer;
function GetOptions: TDBGridOptions;
function GetRowsHeight: Integer;
function GetSelCount: Longint;
function GetStorage: TFormPlacement;
function GetTitleOffset: Byte;
procedure IniLoad(Sender: TObject);
procedure IniSave(Sender: TObject);
procedure RestoreColumnsLayout(IniFile: TObject);
procedure SaveColumnsLayout(IniFile: TObject);
procedure SetFixedCols(Value: Integer);
procedure SetMultiSelect(Value: Boolean);
procedure SetOptions(Value: TDBGridOptions);
procedure SetRowsHeight(Value: Integer);
procedure SetShowGlyphs(Value: Boolean);
procedure SetStorage(Value: TFormPlacement);
procedure SetTitleButtons(Value: Boolean);
procedure StopTracking;
procedure TrackButton(X, Y: Integer);
procedure WMCancelMode(var Message: TMessage);
procedure WMChar(var Msg: TWMChar);| Properties |
property ClearSelection : Boolean
property DefaultDrawing : Boolean
property FixedCols : Integer
property IniStorage : TFormPlacement
property MultiSelect : Boolean
property Options : TDBGridOptions
property RowsHeight : Integer
property ShowGlyphs : Boolean
property TitleButtons : Boolean
property Canvas :
property Col :
property IndicatorOffset :
property InplaceEditor :
property LeftCol :
property Row :
property SelCount : Longint
property SelectedRows :
property TitleOffset : Byte
property VisibleColCount :
property VisibleRowCount : | Events |
event OnCheckButton : TCheckTitleBtnEventobsolete, for backward compatibility only
event OnEditChange : TNotifyEvent
event OnGetBtnParams : TGetBtnParamsEvent
event OnGetCellParams : TGetCellParamsEventobsolete
event OnGetCellProps : TGetCellPropsEvent
event OnKeyPress : TKeyPressEvent
event OnMouseDown :
event OnMouseMove :
event OnMouseUp :
event OnTitleBtnClick : TTitleClickEvent| Variables |
FClearSelection : Boolean;
FDefaultDrawing : Boolean;
FDisableCount : Integer;
FFixedCols : Integer;
FIniLink : TIniLink;
FMsIndicators : TImageList;
FMultiSelect : Boolean;
FOnCheckButton : TCheckTitleBtnEvent;
FOnEditChange : TNotifyEvent;
FOnGetBtnParams : TGetBtnParamsEvent;
FOnGetCellParams : TGetCellParamsEvent;
FOnGetCellProps : TGetCellPropsEvent;
FOnKeyPress : TKeyPressEvent;
FOnTitleBtnClick : TTitleClickEvent;
FPressed : Boolean;
FPressedCol : Longint;
FSelecting : Boolean;
FSelectionAnchor : TBookmarkStr;
FShowGlyphs : Boolean;
FSwapButtons : Boolean;
FTitleButtons : Boolean;
FTracking : Boolean;