Class TrComboBoxEx

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TrComboBoxEx = class(TComboBox)

Description

enhanced ComboBox component which provides automatic setting of dropdown listbox width according length of items text

Hierarchy

  • TComboBox
  • TrComboBoxEx

Overview

Methods

Public procedure ResetTimer(SetActive, CallEventNow: boolean);
Public procedure AddTextToItems(AText: string = '');

Properties

Public property ScaleRatio: double read FScaleRatio;
Published property DropDownAutoWidth: boolean read FDropDownAutoWidth write FDropDownAutoWidth default true;
Published property DropDownMaxWidth: Integer read FDropDownMaxWidth write FDropDownMaxWidth default 600;
Published property DisplayedItems: TDisplayedItems read FDisplayedItems write FDisplayedItems;
Published property UpdateTimerDelay: cardinal read FUpdateTimerDelay write FUpdateTimerDelay default 0;
Published property OnGetListItemProps: TGetListItemProps read FGetListItemProps write FGetListItemProps;
Published property OnUpdateTimer: TNotifyEvent read FUpdateTimerEvent write FUpdateTimerEvent;

Description

Methods

Public procedure ResetTimer(SetActive, CallEventNow: boolean);

reset after change timer

Public procedure AddTextToItems(AText: string = '');
 

Properties

Public property ScaleRatio: double read FScaleRatio;

define actual scale ratio relative to original designed size

Published property DropDownAutoWidth: boolean read FDropDownAutoWidth write FDropDownAutoWidth default true;

define whether drop down width is set according maximal item width

Published property DropDownMaxWidth: Integer read FDropDownMaxWidth write FDropDownMaxWidth default 600;

define maximal width if DropDownAutoWidth is used

Published property DisplayedItems: TDisplayedItems read FDisplayedItems write FDisplayedItems;

define additional item columns

Published property UpdateTimerDelay: cardinal read FUpdateTimerDelay write FUpdateTimerDelay default 0;

define after update timer interval

Published property OnGetListItemProps: TGetListItemProps read FGetListItemProps write FGetListItemProps;

event for user definition of item properties

Published property OnUpdateTimer: TNotifyEvent read FUpdateTimerEvent write FUpdateTimerEvent;

event called with defined delay after update


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:07