You've already forked lazarus-ccr
fpspreadsheet: Adapt prev commit to remain compilable for older Lazarus versions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4652 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -707,7 +707,7 @@ procedure Register;
|
||||
implementation
|
||||
|
||||
uses
|
||||
Types, LCLType, LCLIntf, LCLProc, Math, StrUtils,
|
||||
Types, LCLType, LCLIntf, LCLProc, LCLVersion, Math, StrUtils,
|
||||
fpCanvas,
|
||||
fpsStrings, fpsUtils, fpsVisualUtils, fpsHTMLUtils,
|
||||
fpsNumFormat;
|
||||
@ -3999,7 +3999,11 @@ begin
|
||||
AutoExpandToRow(grow, aeNavigation);
|
||||
AutoExpandToCol(gcol, aeNavigation);
|
||||
if (grow <> Row) or (gcol <> Col) then
|
||||
{$IF LCL_FULLVERSION < 1070000}
|
||||
MoveExtend(false, gcol, grow);
|
||||
{$ELSE}
|
||||
MoveExtend(false, gcol, grow, true);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
// Abort selection because of an error
|
||||
|
Reference in New Issue
Block a user