ComponentOne VSFlexGrid 8.0
Cursor

The grid has a cursor, which is the cell defined by the Rowand Colproperties. The cursor displays a focus rectangle while the grid is active. The user may move the cursor with the keyboard or the mouse, and edit the contents of the cell if the grid is editable. Changing the Rowand Colproperties in code also moves the cursor.

The Row property may be set to values between zero and Rows - 1 to select a row, or to -1 to hide the cursor. The Colproperty may be set to values between zero and Cols - 1 to select a column, or to -1 to hide the cursor.

Setting the Row and Col properties does not ensure that the new cursor is visible. For that, use the ShowCell method.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback