Unit 'Calendar' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#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 on its Parent control.

  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;

  

Contains 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: string;

  

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 signalled when the Bounds of the control have been changed.

  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;

  

Event handler signalled when a key up event has occurred for the control.

  property OnMonthChanged: TNotifyEvent;

  

OnMonthChanged - event handler for a change in month selected.

  property OnMouseDown: TMouseEvent;

  

Event handler signalled when a mouse down event is handled for the control.

  property OnMouseEnter: TNotifyEvent;

  

Event handler signalled when the mouse pointer has entered the control.

  property OnMouseLeave: TNotifyEvent;

  

Event handler signalled when the mouse pointer has left the control.

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler signalled when a mouse up event is handled for the control.

  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 for 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 Hint display for the control.

  property TabOrder: TTabOrder;

  

Indicates the navigation order for the control when the user presses the Tab or Shift+Tab key.

  property TabStop: Boolean;

  

Allows the user to navigate to / from the control by pressing the Tab or Shift+Tab keys.

  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

  

Implements a windowed control 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.

|

TObject

Description

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