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

TCalendar

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

TCalendar allows selection of a date from a calendar display.

Declaration

Source position: calendar.pp line 124

type TCalendar = class(TCustomCalendar)

published

  property Align: TAlign;

  

Specifies the placement of the control inside its Parent.

  property Anchors: TAnchors;

  

The set of anchor definitions for this control.

  property AutoSize: Boolean;

  

Allows automatic adjustment of the size for the control, according to its content.

  property BorderSpacing: TControlBorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property Constraints: TSizeConstraints;

  

The minimum and maximum Width and Height for the control.

  property DateTime: TDateTime;

  

Native data type used for a date in the calendar control.

  property DisplaySettings: TDisplaySettings;

  

DisplaySettings contains options which control the appearance of the calendar.

  property DoubleBuffered: Boolean;

  

Allows to reduce flicker in the painting of the control.

  property FirstDayOfWeek: TCalDayOfWeek;

  

Indicates the day of the week displayed as the first column in the calendar grid.

  property Hint: TTranslateString;

  

The text to show in the Hint window for the control.

  property OnChange: TNotifyEvent;

  

OnChange - event handler for any change in Calendar.

  property OnChangeBounds: TNotifyEvent;

  

Event handler for a change of the Bounds of the control.

  property OnClick: TNotifyEvent;

  

Notification handler for mouse clicks.

  property OnDayChanged: TNotifyEvent;

  

OnDayChanged - event handler for a change in Day selected.

  property OnDblClick: TNotifyEvent;

  

Event Handler for double mouse clicks.

  property OnEnter: TNotifyEvent;

  

Handler for control receiving the focus.

  property OnExit: TNotifyEvent;

  

Handler for control loosing the focus; This is a good place for checking the finished user input.

  property OnKeyDown: TKeyEvent;

  

Handler for keyboard key pressed.

  property OnKeyPress: TKeyPressEvent;

  

Handler for a character entered by the user.

  property OnKeyUp: TKeyEvent;

  

Handler for keyboard key released.

  property OnMonthChanged: TNotifyEvent;

  

OnMonthChanged - event handler for a change in month selected.

  property OnMouseDown: TMouseEvent;

  

Event handler for mouse button going down.

  property OnMouseEnter: TNotifyEvent;

  

Event handler for mouse entering the area of the control.

  property OnMouseLeave: TNotifyEvent;

  

Event handler for mouse leaving the area of the control.

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler for mouse button going up.

  property OnMouseWheel: TMouseWheelEvent;

  

Event handler for mouse wheel turned.

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  

Event handler for downward movement of mouse wheel.

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  

Event handler for upward movement of the mouse wheel.

  property OnMouseWheelHorz: TMouseWheelEvent;

  

Event handler for horizontal movements of the mouse wheel.

  property OnMouseWheelLeft: TMouseWheelUpDownEvent;

  

Event handler for left movements of the mouse wheel.

  property OnMouseWheelRight: TMouseWheelUpDownEvent;

  

Event handler for right movements of the mouse wheel.

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property OnUTF8KeyPress: TUTF8KeyPressEvent;

  

Handler for a character entered by the user.

  property OnYearChanged: TNotifyEvent;

  

OnYearChanged - event handler for a change in the year selected.

  property ParentDoubleBuffered: Boolean;

  

Value from the DoubleBuffered property in a Parent control.

  property PopupMenu: TPopupMenu;

  

A context-sensitive menu that pops up when the right mouse button is clicked over this control.

  property ShowHint: Boolean;

  

Enables the Hint display.

  property TabOrder: TTabOrder;

  

Determines the sequence of control navigation when the user presses the Tab key.

  property TabStop: Boolean;

  

Allows the user to navigate to this control, by pressing the Tab key.

  property Visible: Boolean;

  

Allows the control, and all of its children, to be displayed or hidden.

end;

Inheritance

TCalendar

  

TCalendar allows selection of a date from a calendar display.

|

TCustomCalendar

  

Base class for TCalendar.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent

?

TObject

Description

TCalendar is a graphic control allowing the user to select a date from a calendar display.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.