Class TCustomrDBLookupComboBoxUDB
Unit
rDBComponents_UDB
Declaration
type TCustomrDBLookupComboBoxUDB = class(TrDBLookupComboBox)
Description
TrDBLookupComboBox descendant load list of items from any SQL command
Hierarchy
- TrDBLookupComboBox
- TCustomrDBLookupComboBoxUDB
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 KeyValueChanged; 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
|
|
function ListActive: boolean; |
indicate whether list dataset as active
|
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, first field is used as keyvalue field, 2nd field as list value field
|
|
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 ListDetailButton: TBoundComboButton read FListDetailButton; |
define 2nd aux button beside control
|
|
property ListDetailButtonVisible: boolean read FListDetailButtonVisible write SetListDetailButtonVisible default true; |
define visibility of 2nd aux button beside control
|
|
property OnClickComboDetailButton: TClickComboButton read FClickComboDetailButton write FClickComboDetailButton; |
define event after ListDetailButtonClick
|
|
property ListValue: string read GetListValue; |
return list value for selected item
|
|
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.
|