fix: SetCursorPos
Posted: Tue May 10, 2011 2:25 pm
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.
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.