Class TCustomrDBListBoxUDB
Unit
rDBComponents_UDB
Declaration
type TCustomrDBListBoxUDB = class(TrDBListBox)
Description
TrDBListBox descendant load list of items from any SQL command
Hierarchy
- TrDBListBox
- TCustomrDBListBoxUDB
Overview
Methods
Properties
Description
Methods
|
procedure Loaded; override; |
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
|
procedure SetParent(AParent: TWinControl); override; |
|
|
procedure CMVisibleChanged(var Message: TMessage); message CM_VISIBLECHANGED; |
|
|
procedure CMEnabledChanged(var Message: TMessage); message CM_ENABLEDCHANGED; |
|
|
procedure DoEnter; override; |
|
|
procedure ReloadItems; |
open SQL command and refresh list items
|
|
function GetListField(const FieldName: string): TField; overload; |
return Field from internal Dataset to allow reading of field value from selected record
|
|
function GetListField(FieldIndex: integer): TField; overload; |
return Field from internal Dataset to allow reading of field value from selected record
|
Properties
|
property ListDataSet: TQueryIntList read FListDataSet; |
return internal Dataset to allow reading of other fields
|
|
property ListSQL: TStrings read FListSQL write SetListSQL; |
define SQL command, value of first field is used as list text value, value of 2nd field is used as Object value (must be integer)
|
|
property ListConnection: TCustomConnectionUDB read FListConnection write SetListConnection; |
define list UDB connection, if is not used, connection from DataField is used
|
|
property ListAutoLoad: boolean read FListAutoLoad write FListAutoLoad default true; |
define whether ReloadItems 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 FGetListSQL write FGetListSQL; |
call before opening of SQL to allow update command or set WHERE condition
|
|
property ListButton: TBoundComboButton read FListButton; |
define aux button beside control
|
|
property ListButtonVisible: boolean read FListButtonVisible write SetListButtonVisible default true; |
define visibility of aux button beside control
|
|
property ListButtonAllwaysEnabled: boolean read FListButtonAllwaysEnabled write FListButtonAllwaysEnabled default true; |
define enability of aux button beside control
|
|
property ListButtonTableName: string read FListButtonTableName write FListButtonTableName; |
define TableName which should be edited after ListButtonClick (not used by component)
|
|
property OnClickComboButton: TClickComboButton read FClickComboButton write FClickComboButton; |
define event after ListButtonClick
|
|
property OnListDataSetEvent: TDataSetEvent read FListDataSetEvent write SetListDataSetEvent; |
define event for internal dataset (BeforeOpen, BeforePost... After... ses TDataSetEventTypes
|
|
property ListAutoReloadEvents: TDatasetEventTypes read FListAutoReloadEvents write FListAutoReloadEvents; |
define Datasource events when ReloadItems is called automatically
|
Generated by PasDoc 0.15.0.
|