Class TrDBComboBox
Unit
rDBComponents
Declaration
type TrDBComboBox = class(TDBComboBox)
Description
enhanced TDBComboBox with bound label
Hierarchy
Overview
Methods
Properties
Description
Methods
|
procedure UpdateState(Sender: TObject); virtual; |
update current state of component (called automatically)
|
|
procedure ResetTimer(SetActive, CallEventNow: boolean); |
reset after change timer
|
Properties
|
property ScaleRatio: double read FScaleRatio; |
define actual scale ratio relative to original designed size
|
|
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 UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false; |
define wheather record is update directly after click instead of after exit
|
|
property DisplayedItems: TDisplayedItems read FDisplayedItems write FDisplayedItems; |
define additional item columns
|
|
property OnGetListItemProps: TGetListItemProps read FGetListItemProps write FGetListItemProps; |
event for user definition of item properties
|
|
property NullValueKey: TShortCut read FNullValueKey write FNullValueKey default 0; |
define shortcut to set NULL value to the field
|
|
property UpdateTimerDelay: cardinal read FUpdateTimerDelay write FUpdateTimerDelay default 0; |
define after update timer interval
|
|
property OnUpdateTimer: TNotifyEvent read FUpdateTimerEvent write FUpdateTimerEvent; |
event called with defined delay after update
|
|
property LastKeyDown: Word read FLastKeyDown; |
contain last pressed key
|
|
property ItemHeightEx: integer read FItemHeightEx write SetItemHeightEx default cDBComboBoxItemHeightDefault; |
define item height for fixed draw before scaling
|
Generated by PasDoc 0.15.0.
|