Sign in Join
FPDoc Onlineexperiment

TTimePopupForm.HoursGridSelectCell procedure

Member of TTimePopupFormIn unit TimePopup

Implements the OnSelectCell event handler for the hours grid on the form.

Declaration

pascal
procedure HoursGridSelectCell(Sender: TObject; aCol: Integer; 
 aRow: Integer; var CanSelect: Boolean)

Arguments

Sender

Object instance for the event notification.

aCol

Column number selected on the Hours grid.

aRow

Row number selected on the Hours grid.

CanSelect

Indicates whether the cell selection is allowed.

Description

Sets CanSelect to False when 12-hour time values are used and the selected cell is not valid for the time format.

Added in LCL version 4.4.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.