Class TCustomrDBGrid_MSUDB
Unit
rDBComponents_UDB
Declaration
type TCustomrDBGrid_MSUDB = class(TrDBGrid_MS)
Description
TrDBGrid_MS descendant with possibility to load/show/edit records from any SQL command
Hierarchy
- TrDBGrid_MS
- TCustomrDBGrid_MSUDB
Overview
Methods
Properties
Description
Methods
|
procedure Loaded; override; |
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
|
procedure ReloadData; |
open SQL command and refresh Grid content
|
Properties
|
property ListDataSet: TQueryIntList read FListDataSet; |
return internal Dataset to allow reading of fields
|
|
property ListDataSource: TDataSource read FListDataSource; |
return internal Datasource to allow using for other DB components
|
|
property ListSQL: TStrings read FListSQL write SetListSQL; |
define SQL command
|
|
property ListConnection: TCustomConnectionUDB read FListConnection write SetListConnection; |
define UDB connection
|
|
property ListAutoLoad: boolean read FListAutoLoad write FListAutoLoad default true; |
define whether ReloadData is called automatically after loading
|
|
property ListSQLTryNow: boolean read FListSQLTryNow write SetListSQLTryNow default false; |
try to open SQL command in design time
|
|
property OnGetListSQL: TGetSQLEvent read FOnGetListSQL write FOnGetListSQL; |
call before opening of SQL to allow update command or set WHERE condition
|
|
property ListDataSetReadOnly: boolean read FListDataSetReadOnly write FListDataSetReadOnly default false; |
define whether internal dataset is read only (editing is not allowed)
|
|
property OnListDataSetEvent: TDataSetEvent read FListDataSetEvent write SetListDataSetEvent; |
define event for internal dataset (BeforeOpen, BeforePost... After... ses TDataSetEventTypes
|
Generated by PasDoc 0.15.0.
|