Contents Topics Index  <<  >>

OnClickCalendar event


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

Property OnClickCalendar : TClickCalendarEvent    ;

Description

The OnClickCalendar event can be used to handle the user single-clicking on the calendar area. This event will NOT be triggered by single-clicking on the two fixed rows at the top of the calendar, or by single-clicking on a day cell that is not a defined day in the current calendar month and year.

Use this event to handle a user single-clicking on a specific date on the calendar area. The date of the selected cell is defined in the CellDate parameter, which is of type TDateTime. Also, the ACol and ARow parameters specify the column and row of the cell that was single-clicked. Valid values for ACol are 0 through 6, valid values for ARow are 0 through 5

See also: OnDoubleClickCalendar , TClickCalendarEvent