if (Col > FPanes[DEF_PANE].Columns.RightCol) or (Col < FPanes[DEF_PANE].Columns.LeftCol) then
FXLSSheet.LeftCol := Col;
if (Row > FPanes[DEF_PANE].Rows.BottomRow) or (Row < FPanes[DEF_PANE].Rows.TopRow) then
FXLSSheet.TopRow := Row;
else scroll "to top" (if row is higher than current row) is buggy.
fix: SetCursorPos
Re: fix: SetCursorPos
better 'Row >=' than 'Row >' as last row may be partially visible.