Contents - Index - Previous - Next


SetSelectionEx method



Applies to
TProfGrid component

Declaration
function SetSelectionEx(ALeft, ATop, ARight, ABottom: Integer): Boolean;

Description

Adds a rectangular region with the specified coordinates to the current selection (without resetting the current selection).

Use SetSelectionEx to programmatically add a range of cells to the selection. The parameters are the visible row and column coordinates of the upper left and bottom right cells of the range to add.