RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.SelectCell Method

Indicates whether the user can navigate to a specified cell.

Pascal
function SelectCell(Arow: LongInt; AColumn: LongInt): Boolean; override;
C++
virtual __fastcall Boolean SelectCell(LongInt Arow, LongInt AColumn);

Decision grids call SelectCell internally before attempting to move 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. 

As implemented in TCustomDecisionGrid, SelectCell always returns True, indicating that focus can move to the indicated cell. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!