[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCalendarDialog - a popup calendar dialog that allows a date to be selected and returned to the main program
Source position: extdlgs.pas line 202
type TCalendarDialog = class(TCommonDialog) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure GetNewDate(); |
|
GetNewDate - programmatic simulation of OnClick event, which transfers the selected dae to the calling program |
procedure CalendarDblClick(); |
|
CalendarDblClick - method for handling doubleclick on the calendar |
public |
||
constructor Create(); override; |
|
|
function Execute; override; |
|
A public method causing the dialog box to appear, offer the relevant choices to the user and act upon the choice |
published |
||
|
The selected Date, for return to the main program |
|
property OnDayChanged: TNotifyEvent; [rw] |
|
OnDayChanged - event handler when a different day is selected |
property DisplaySettings: TDisplaySettings; [rw] |
|
DisplaySettings - the user-selected settings determining the appearance of the display |
property HelpContext: THelpContext; [rw] |
|
HelpContext - an index to the context-dependent help message for this dialog |
property OnMonthChanged: TNotifyEvent; [rw] |
|
OnMonthChanged - event handler when a different month is selected |
property OnYearChanged: TNotifyEvent; [rw] |
|
OnYearChanged - event handler when a different year is selected |
property DialogPosition: TPosition; [rw] |
|
DialogPosition - position to display the dialog - by default in the centre of the main form |
property DialogTitle: TCaption; [rws] |
|
DialogTitle - caption for the calendar dialog |
|
OKCaption - caption for the OK button |
|
property CancelCaption: TCaption; [rw] |
|
CancelCaption - caption for the Cancel button |
end; |
|
TCalendarDialog - a popup calendar dialog that allows a date to be selected and returned to the main program |
|
| | ||
|
TCommonDialog : the base type from which other dialogs are derived |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |