Class TDisplayedItems
Unit
rImprovedComps
Declaration
type TDisplayedItems = class(TPersistent)
Description
dropdown items properties used for TrComboBoxEx and TrDBComboBox
Hierarchy
- TPersistent
- TDisplayedItems
Overview
Methods
Properties
|
property ListItems: TStrings read FListItems write SetDisplayedItems; |
|
property AddItemAsFirstColumn: Boolean read FAddItemAsFirstColumn write SetAddItemAsFirstColumn default false; |
|
property ColumnSeparator: string read FColumnSeparator write SetColumnSeparator; |
|
property DrawColumnLine: Boolean read FDrawColumnLine write FDrawColumnLine default true; |
Description
Methods
|
function GetMaxItemWidth(DropDownCount: integer): integer; |
return maximal width of all items
|
|
procedure DrawListItem(Index: integer; State: TOwnerDrawState; Rect: TRect; GetListItemProps: TGetListItemProps); |
draw one item of combo dropdown
|
Properties
|
property ListItems: TStrings read FListItems write SetDisplayedItems; |
define additional items text
|
|
property AddItemAsFirstColumn: Boolean read FAddItemAsFirstColumn write SetAddItemAsFirstColumn default false; |
define whether ListItem is shown at begining
|
|
property ColumnSeparator: string read FColumnSeparator write SetColumnSeparator; |
define separator used in ListItem
|
|
property DrawColumnLine: Boolean read FDrawColumnLine write FDrawColumnLine default true; |
define whether column line is drawn
|
Generated by PasDoc 0.15.0.
|