Class TrDBDateTimePicker

Unit

Declaration

type TrDBDateTimePicker = class(TDateTimePicker)

Description

DB version of TDateTimePicker with bound label and null value checkbox

Hierarchy

  • TDateTimePicker
  • TrDBDateTimePicker

Overview

Properties

Public property ScaleRatio: double read FScaleRatio;
Published property DataField: string read GetDataField write SetDataField;
Published property DataSource: TDataSource read GetDataSource write SetDataSource;
Published property ReadOnly: boolean read FReadOnly write FReadOnly default false;
Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;
Published property DataAllowNull: boolean read FDataAllowNull write SetDataAllowNull default false;
Published property EnabledAll: boolean read FEnabledAll write SetEnabledAll default true;
Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;
Published property IsChecked: boolean read GetIsChecked;
Published property FormatEmpty: string read FFormatEmpty write FFormatEmpty;
Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;
Published property AutoSelectDayPart: boolean read FAutoSelectDayPart write FAutoSelectDayPart default false;

Description

Properties

Public property ScaleRatio: double read FScaleRatio;

define actual scale ratio relative to original designed size

Published property DataField: string read GetDataField write SetDataField;
 
Published property DataSource: TDataSource read GetDataSource write SetDataSource;
 
Published property ReadOnly: boolean read FReadOnly write FReadOnly default false;

define whether component is in read only mode

Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;

define color for not edit state

Published property DataAllowNull: boolean read FDataAllowNull write SetDataAllowNull default false;

define whether checkbox is shown and null value can be entered

Published property EnabledAll: boolean read FEnabledAll write SetEnabledAll default true;

define whether all component including label is enable

Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;

define properties of bound label

Published property IsChecked: boolean read GetIsChecked;

return whether null checkbox is checked

Published property FormatEmpty: string read FFormatEmpty write FFormatEmpty;

define format for empty (null) date

Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;

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

Published property AutoSelectDayPart: boolean read FAutoSelectDayPart write FAutoSelectDayPart default false;

define whether day part is automatically selected for next enter


Generated by PasDoc 0.15.0.