Class TrDBCheckBox
Unit
rDBComponents
Declaration
type TrDBCheckBox = class(TDBCheckBox)
Description
enhanced TDBCheckBox providing readonly color and caption loaded from selected field
Hierarchy
Overview
Methods
Properties
|
property DataField: string read GetDataField write SetDataField; |
|
property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace; |
|
property ShowFieldCaption: boolean read FShowFieldCaption write SetShowFieldCaption; |
|
property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix; |
|
property ShowDisabledIfReadOnly: boolean read FShowDisabledIfReadOnly write FShowDisabledIfReadOnly default false; |
|
property UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false; |
Description
Methods
|
procedure UpdateState(Sender: TObject); virtual; |
update current state of component (called automatically)
|
Properties
|
property DataField: string read GetDataField write SetDataField; |
|
|
property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace; |
define color for not edit state
|
|
property ShowFieldCaption: boolean read FShowFieldCaption write SetShowFieldCaption; |
define whether DisplayLabel from selected field is used as caption
|
|
property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix; |
define prefix for auto-named function (name of component is set according datafield)
|
|
property ShowDisabledIfReadOnly: boolean read FShowDisabledIfReadOnly write FShowDisabledIfReadOnly default false; |
define wheather checkbox is shown disabled in readonly mode
|
|
property UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false; |
define wheather record is update directly after click instead of after exit
|
Generated by PasDoc 0.15.0.
|