Class TrDBCheckBox

Unit

Declaration

type TrDBCheckBox = class(TDBCheckBox)

Description

enhanced TDBCheckBox providing readonly color and caption loaded from selected field

Hierarchy

  • TDBCheckBox
  • TrDBCheckBox

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 ShowFieldCaption: boolean read FShowFieldCaption write SetShowFieldCaption;
Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;
Published property ShowDisabledIfReadOnly: boolean read FShowDisabledIfReadOnly write FShowDisabledIfReadOnly default false;
Published property UpdateAfterClick: boolean read FUpdateAfterClick write FUpdateAfterClick default false;

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 ShowFieldCaption: boolean read FShowFieldCaption write SetShowFieldCaption;

define whether DisplayLabel from selected field is used as caption

Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;

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

Published property ShowDisabledIfReadOnly: boolean read FShowDisabledIfReadOnly write FShowDisabledIfReadOnly default false;

define wheather checkbox is shown disabled in readonly mode

Published 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.