Vcl.Samples.Calendar.TCalendar.SelectCell
Delphi
function SelectCell(ACol, ARow: Longint): Boolean; override;
C++
virtual bool __fastcall SelectCell(int ACol, int ARow);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Samples.Calendar.pas Vcl.Samples.Calendar.hpp |
Vcl.Samples.Calendar | TCalendar |
Description
Determines whether a particular cell in the calendar's grid can be selected.
SelectCell is internally used before attempting to move the selection to the cell identified by the ACol
and ARow
parameters. ACol
and ARow
are the column and row indexes for the cell, where the first column has index 0, and the top row has index 0.
SelectCell returns False if the cell specified by ACol
and ARow
has no text or the calendar is in a read-only state.