Contents - Index - Previous - Next


OnSelectRange event



Applies to
TProfGrid component

Declaration
property OnSelectRange: TSelectCellEvent;

Description

Occurs before a cell in the grid is range-selected.

Write an OnSelectRange event handler to specify whether any particular cell in the grid can be range-selected. The ACol and ARow parameters indicate the visible column and row indexes of the cell that is about to be selected. Set the CanSelect parameter to False to prevent the cell from being range-selected.