Class TrDBCtrlGridEx

Unit

Declaration

type TrDBCtrlGridEx = class(TWinControl)

Description

modified TDBCtrlGrid with some new function, ready for displaying inside of ScrollBox with smooth scrolling, scrollbar can be disabled, new function for drawing in panel is added

Hierarchy

  • TWinControl
  • TrDBCtrlGridEx

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure DoKey(Key: TDBCtrlGrid2Key);
Public function ExecuteAction(Action: TBasicAction): Boolean; override;
Public procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
Public procedure GetTabOrderList(List: TList); override;
Public procedure KeyDown(var Key: Word; Shift: TShiftState); override;
Public procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;
Public function UpdateAction(Action: TBasicAction): Boolean; override;

Properties

Public property Canvas: TCanvas read FCanvas;
Public property EditMode: Boolean read GetEditMode write SetEditMode;
Public property PanelCount: Integer read FPanelCount;
Public property PanelIndex: Integer read FPanelIndex write SetPanelIndex;
Published property Align;
Published property AllowDelete: Boolean read FAllowDelete write FAllowDelete default True;
Published property AllowInsert: Boolean read FAllowInsert write FAllowInsert default True;
Published property Anchors;
Published property ColCount: Integer read FColCount write SetColCount;
Published property Color;
Published property Constraints;
Published property DataSource: TDataSource read GetDataSource write SetDataSource;
Published property DragCursor;
Published property DragMode;
Published property Enabled;
Published property Font;
Published property Orientation: TDBCtrlGrid2Orientation read FOrientation write SetOrientation default goVertical;
Published property PanelBorder: TDBCtrlGrid2Border read FPanelBorder write SetPanelBorder default gbRaised;
Published property PanelHeight: Integer read FPanelHeight write SetPanelHeight;
Published property PanelWidth: Integer read FPanelWidth write SetPanelWidth;
Published property ParentColor;
Published property ParentFont;
Published property ParentShowHint;
Published property PopupMenu;
Published property TabOrder;
Published property TabStop default True;
Published property RowCount: Integer read FRowCount write SetRowCount;
Published property SelectedColor: TColor read FSelectedColor write SetSelectedColor stored FSelColorChanged default clWindow;
Published property ShowFocus: Boolean read FShowFocus write FShowFocus default True;
Published property ShowHint;
Published property Visible;
Published property OnClick;
Published property OnDblClick;
Published property OnDragDrop;
Published property OnDragOver;
Published property OnEndDrag;
Published property OnEnter;
Published property OnExit;
Published property OnKeyDown;
Published property OnKeyPress;
Published property OnKeyUp;
Published property OnMouseDown;
Published property OnMouseMove;
Published property OnMouseUp;
Published property OnPaintPanel: TPaintPanelEvent read FOnPaintPanel write FOnPaintPanel;
Published property OnPaintPanelBackground: TPaintPanelBackgroundEvent read FOnPaintPanelBackground write FOnPaintPanelBackground;
Published property OnStartDrag;
Published property ScrollBars: TScrollBarsEx read FScrollBars write SetScrollBars;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure DoKey(Key: TDBCtrlGrid2Key);
 
Public function ExecuteAction(Action: TBasicAction): Boolean; override;
 
Public procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
 
Public procedure GetTabOrderList(List: TList); override;
 
Public procedure KeyDown(var Key: Word; Shift: TShiftState); override;
 
Public procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;
 
Public function UpdateAction(Action: TBasicAction): Boolean; override;
 

Properties

Public property Canvas: TCanvas read FCanvas;
 
Public property EditMode: Boolean read GetEditMode write SetEditMode;
 
Public property PanelCount: Integer read FPanelCount;
 
Public property PanelIndex: Integer read FPanelIndex write SetPanelIndex;
 
Published property Align;
 
Published property AllowDelete: Boolean read FAllowDelete write FAllowDelete default True;
 
Published property AllowInsert: Boolean read FAllowInsert write FAllowInsert default True;
 
Published property Anchors;
 
Published property ColCount: Integer read FColCount write SetColCount;
 
Published property Color;
 
Published property Constraints;
 
Published property DataSource: TDataSource read GetDataSource write SetDataSource;
 
Published property DragCursor;
 
Published property DragMode;
 
Published property Enabled;
 
Published property Font;
 
Published property Orientation: TDBCtrlGrid2Orientation read FOrientation write SetOrientation default goVertical;
 
Published property PanelBorder: TDBCtrlGrid2Border read FPanelBorder write SetPanelBorder default gbRaised;
 
Published property PanelHeight: Integer read FPanelHeight write SetPanelHeight;
 
Published property PanelWidth: Integer read FPanelWidth write SetPanelWidth;
 
Published property ParentColor;
 
Published property ParentFont;
 
Published property ParentShowHint;
 
Published property PopupMenu;
 
Published property TabOrder;
 
Published property TabStop default True;
 
Published property RowCount: Integer read FRowCount write SetRowCount;
 
Published property SelectedColor: TColor read FSelectedColor write SetSelectedColor stored FSelColorChanged default clWindow;
 
Published property ShowFocus: Boolean read FShowFocus write FShowFocus default True;
 
Published property ShowHint;
 
Published property Visible;
 
Published property OnClick;
 
Published property OnDblClick;
 
Published property OnDragDrop;
 
Published property OnDragOver;
 
Published property OnEndDrag;
 
Published property OnEnter;
 
Published property OnExit;
 
Published property OnKeyDown;
 
Published property OnKeyPress;
 
Published property OnKeyUp;
 
Published property OnMouseDown;
 
Published property OnMouseMove;
 
Published property OnMouseUp;
 
Published property OnPaintPanel: TPaintPanelEvent read FOnPaintPanel write FOnPaintPanel;
 
Published property OnPaintPanelBackground: TPaintPanelBackgroundEvent read FOnPaintPanelBackground write FOnPaintPanelBackground;
 
Published property OnStartDrag;
 
Published property ScrollBars: TScrollBarsEx read FScrollBars write SetScrollBars;
 

Generated by PasDoc 0.15.0.