Class TrDBComboBox

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TrDBComboBox = class(TDBComboBox)

Description

enhanced DBComboBox with bound label

Hierarchy

  • TDBComboBox
  • TrDBComboBox

Overview

Methods

Public procedure UpdateState(Sender: TObject); virtual;

Properties

Published property DataField: string read GetDataField write SetDataField;
Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;
Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;
Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;
Published property DropDownAutoWidth: boolean read FDropDownAutoWidth write FDropDownAutoWidth default true;
Published property DropDownMaxWidth: integer read FDropDownMaxWidth write FDropDownMaxWidth default 600;
Published property UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false;
Published property DisplayedItems: TDisplayedItems read FDisplayedItems write FDisplayedItems;
Published property OnGetListItemProps: TGetListItemProps read FGetListItemProps write FGetListItemProps;

Description

Methods

Public procedure UpdateState(Sender: TObject); virtual;

update current state of component (called automatically)

Properties

Published property DataField: string read GetDataField write SetDataField;
 
Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;

define color for not edit state

Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;

define properties of bound label

Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;

define prefix for auto-named function (name of component is set according datafield)

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

defines whether width of dropdown list is set according items length

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

defines maximal width of dropdown list

Published property UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false;

define wheather record is update directly after click instead of after exit

Published property DisplayedItems: TDisplayedItems read FDisplayedItems write FDisplayedItems;

define additional item columns

Published property OnGetListItemProps: TGetListItemProps read FGetListItemProps write FGetListItemProps;

event for user definition of item properties


Generated by PasDoc 0.13.0 on 2016-10-19 12:19:00