virtual BOOL MoveCurrentCell(int direction, UINT nCell = 1 , BOOL bCanSelectRange = TRUE);
direction
GX_BOTTOMRIGHTmove to last row and column
nCell
Number of rows or columns.
bCanSelectRange
Specifies if current cell shall be marked as selected range. If FALSE, current cell will not be marked as selected range. This parameter has no effect if GetParam()-> SetExcelLikeCurrentCell(TRUE) has not been called.
TRUE if the operation was successful; FALSE if the current cell could not be moved (e.g. if OnValidateCell returned FALSE)
Overridable method which selects a new current cell based on an offset from the existing current cell.
Hidden columns and rows and disabled cells will be skipped (see FindNextCell).
The method computes the new position of the current cell and calls SetCurrentCell with the flag GX_SCROLLINVIEW so that the new cell will be automatically scrolled into the visible area.
CGXGridCore::SetCurrentCell CGXGridCore::FindNextCell CGXGridParam::SetExcelLikeCurrentCell
Class Overview | Class Members