Class TrEditDate

Unit

Declaration

type TrEditDate = class(TButtonedEdit)

Description

enhanced TButtonedEdit allows fast entering of the date value by keyboard or by Month calendar; supported input formats - dd, dd/mm, dd/mm/yy, dd/mm/yyyy shortcuts - arrows Up/Down (optionaly Ctrl+Shift) to move date/month/year t = today, s = start of month, e = end of month, d,p = dropdown month calendar (if right button is visible)

Hierarchy

  • TButtonedEdit
  • TrEditDate

Overview

Properties

Published property MinDate: TDateTime read FMinDate write FMinDate;
Published property MaxDate: TDateTime read FMaxDate write FMaxDate;
Published property NowIfEmpty: Boolean read FNowIfEmpty write FNowIfEmpty default false;
Published property NowOnStart: Boolean read FNowOnStart write FNowOnStart default false;
Published property DateValue: TDateTime read GetDate write SetDate;

Description

Properties

Published property MinDate: TDateTime read FMinDate write FMinDate;

Minimal value which can be entered

Published property MaxDate: TDateTime read FMaxDate write FMaxDate;

Maximal value which can be entered

Published property NowIfEmpty: Boolean read FNowIfEmpty write FNowIfEmpty default false;

Defines whether Now is used if Text is empty

Published property NowOnStart: Boolean read FNowOnStart write FNowOnStart default false;

Defines whether Now is entered on startup

Published property DateValue: TDateTime read GetDate write SetDate;

Get or Set actual Date


Generated by PasDoc 0.15.0.