[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for TCalendar.
Source position: calendar.pp line 77
type TCustomCalendar = class(TWinControl) |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure LMChanged(); message; |
|
Handles the LCL message received when the control is changed. |
procedure LMMonthChanged(); message; |
|
Handles the LCL message received when the month has been changed. |
procedure LMYearChanged(); message; |
|
Handles the LCL message received when the year has been changed. |
procedure LMDayChanged(); message; |
|
Handles the LCL message received when the day has been changed. |
class function GetControlClassDefaultSize; override; |
|
Returns the default size for this class of controls (when added to a form). |
procedure Loaded; override; |
|
Performs actions when a component has been loaded during LCL streaming. |
procedure InitializeWnd; override; |
|
Copies cached control properties to the just created widget. |
procedure DestroyWnd; override; |
|
Destroys the interface object (widget). |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
function HitTest(); |
|
Indicates where a mouse click occurred in the calendar control. |
function GetCalendarView; |
|
Gets the current view for the Calendar. |
property Date: string; [rws] |
|
String representation for the DateTime property. |
property DateTime: TDateTime; [rw] |
|
Native data type used for a date in the calendar control. |
property DisplaySettings: TDisplaySettings; [rw] |
|
DisplaySettings contains options which control the appearance of the calendar. |
property FirstDayOfWeek: TCalDayOfWeek; [rw] |
|
Indicates the day of the week displayed as the first column in the calendar grid. |
property OnChange: TNotifyEvent; [rw] |
|
OnChange - event handler for any change in Calendar. |
property OnDayChanged: TNotifyEvent; [rw] |
|
OnDayChanged - event handler for a change in Day selected. |
property OnMonthChanged: TNotifyEvent; [rw] |
|
OnMonthChanged - event handler for a change in month selected. |
property OnYearChanged: TNotifyEvent; [rw] |
|
OnYearChanged - event handler for a change in the year selected. |
end; |
|
Base class for TCalendar. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TObject |
TCustomCalendar is the base class for TCalendar, a graphic control for selecting a date.
|
Implements a windowed control which can contain other child controls. |