Class TrComboBoxEx
Unit
rImprovedComps
Declaration
type TrComboBoxEx = class(TComboBox)
Description
enhanced TComboBox component which provides additional item properties and automatic setting of dropdown listbox width according length of items text
Hierarchy
Overview
Methods
Properties
Description
Methods
|
procedure ResetTimer(SetActive, CallEventNow: Boolean); |
reset after change timer
|
|
procedure AddTextToItems(AText: string = ''); |
add active od specified text to Items
|
|
procedure RemoveTextFromItems(AText: string = ''); |
remove active od specified text from Items
|
Properties
|
property ScaleRatio: double read FScaleRatio; |
define actual scale ratio relative to original designed size
|
|
property SelectedText: string read GetSelectedText; |
return seleced items as text
|
|
property JustClosed: boolean read FJustClosed; |
|
|
property DropDownAutoWidth: Boolean read FDropDownAutoWidth write FDropDownAutoWidth default true; |
define whether drop down width is set according maximal item width
|
|
property DropDownMaxWidth: integer read FDropDownMaxWidth write FDropDownMaxWidth default 600; |
define maximal width if DropDownAutoWidth is used
|
|
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 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 cComboBoxItemHeightDefault; |
define item height for fixed draw before scaling
|
Generated by PasDoc 0.15.0.
|