[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'EditBtn' (#lcl)

TDateEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TDateEdit - an EditBox to hold a date, with an attached SpeedButton that will summon a date selection (calendar) dialog

Declaration

Source position: editbtn.pas line 324

type TDateEdit = class(TCustomEditButton)

protected

  function GetDefaultGlyph; override;

  function GetDefaultGlyphName; override;

  procedure DoButtonClick(); override;

  

  procedure DblClick; override;

public

  constructor Create(); override;

  

  procedure DateFormatChanged; virtual;

  

DateFormatChanged - method for changing date format

  function GetDateFormat;

  

GetDateFormat - returns the format for the date

  property Date: TDateTime; [rw]

  

  property Button;

published

  property DialogTitle: TCaption; [rws]

  

DialogTitle - the caption to appear on the dialog

  property CalendarDisplaySettings: TDisplaySettings; [rw]

  

CalendarDisplaySettings - governs how the calendar dialog is to be displayed

  property OnAcceptDate: TAcceptDateEvent; [rw]

  

OnAcceptDate - event handler for accepting the date selected in the calendar dialog

  property OnCustomDate: TCustomDateEvent; [rw]

  property OKCaption: TCaption; [rw]

  

OKCaption - the caption to be used for the OK button in the calendar dialog

  property CancelCaption: TCaption; [rw]

  

CancelCaption - the caption to be used for the Cancel button in the Calendar dialog

  property ReadOnly;

  

  property DefaultToday: Boolean; [rw]

  

DefaultToday - if True, the current date is offered as the default date (value is False by default)

  property ButtonOnlyWhenFocused;

  

  property ButtonWidth;

  

  property Action;

  property Align;

  

  property Anchors;

  

  property AutoSize;

  

  property AutoSelect;

  property BorderSpacing;

  

  property Color;

  

  property Constraints;

  property CharCase;

  property DirectInput;

  

  property Glyph;

  property NumGlyphs;

  

  property DragMode;

  

  property EchoMode;

  property Enabled;

  

  property Font;

  

  property MaxLength;

  

  property OnChange;

  

  property OnChangeBounds;

  property OnClick;

  

  property OnEditingDone;

  property OnEnter;

  

  property OnExit;

  

  property OnKeyDown;

  

  property OnKeyPress;

  

  property OnKeyUp;

  

  property OnMouseDown;

  

  property OnMouseMove;

  

  property OnMouseUp;

  

  property OnResize;

  property OnUTF8KeyPress;

  property ParentFont;

  

  property ParentShowHint;

  

  property PasswordChar;

  property PopupMenu;

  

  property ShowHint;

  

  property TabStop;

  

  property TabOrder;

  

  property Visible;

  

end;

Inheritance

TDateEdit

  

TDateEdit - an EditBox to hold a date, with an attached SpeedButton that will summon a date selection (calendar) dialog

|

TCustomEditButton

  

TCustomEditButton - base class for TEditButton, an Edit Box with attached Speed Button

|

TCustomEdit

?

TObject