Class TrDBLookupComboBox
Unit
rDBComponents
Declaration
type TrDBLookupComboBox = class(TDBLookupComboBox)
Description
enhanced TDBLookupComboBox with bound label
Hierarchy
- TDBLookupComboBox
- TrDBLookupComboBox
Overview
Methods
Properties
Description
Methods
 |
procedure CloseUp(Accept: boolean); override; |
|
 |
procedure UpdateState(Sender: TObject); virtual; |
update current state of component (called automatically)
|
 |
function DropDownDefaultItemHeight: integer; |
return default item height of standard lookup list
|
 |
function GetSelectedText: string; |
|
Properties
 |
property DataField: string read GetDataField write SetDataField; |
|
 |
property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace; |
define color for not edit state
|
 |
property DBEditLabel: TDBBoundLabel read FDBEditLabel; |
define properties of bound label
|
 |
property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix; |
define prefix for auto-named function (name of component is set according datafield)
|
 |
property DropDownAutoWidth: boolean read FDropDownAutoWidth write FDropDownAutoWidth default true; |
defines whether width of dropdown list is set according items length
|
 |
property DropDownMaxWidth: integer read FDropDownMaxWidth write FDropDownMaxWidth default 600; |
defines maximal width of dropdown list
|
 |
property DropDownItemHeight: integer read FDropDownItemHeight write FDropDownItemHeight default 0; |
defines absolute item height of dropdown list, default is used if DropDownItemHeight =0
|
 |
property DropDownItemIncreaseHeight: integer read FDropDownItemIncreaseHeight write FDropDownItemIncreaseHeight default 2; |
defines increase of standard item height of dropdown list
|
 |
property DropDownItemIncreaseWidth: integer read FDropDownItemIncreaseWidth write FDropDownItemIncreaseWidth default 0; |
defines increase of item column width if DropDownAutoWidth=true
|
 |
property ListFieldIndexMax: integer read FListFieldIndexMax write FListFieldIndexMax default 0; |
defines max ListField index which is show in edit window (own paint method is used)
|
 |
property EmptyDisplayValue: string read FEmptyDisplayValue write FEmptyDisplayValue; |
defines text value shown if KeyValue is empty
|
 |
property OnGetListItemProps: TGetLookupListItemProps read FGetListItemProps write FGetListItemProps; |
event for user definition of lookup dropdown item properties
|
 |
property SearchingResetInterval: integer read FSearchingResetInterval write FSearchingResetInterval default 2500; |
define interval without any keypress before reset searching text
|
 |
property AllowLookupFilter: boolean read FAllowLookupFilter write FAllowLookupFilter default false; |
allow filtering of data for the lookup field
|
 |
property AutoDropDown: boolean read FAutoDropDown write FAutoDropDown default false; |
allow automatic dropdown after key press
|
Generated by PasDoc 0.15.0.
|