mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 15:20:49 +02:00
LCL, grids bidi fixes: autoadvance
git-svn-id: trunk@31448 -
This commit is contained in:
parent
ab611393ae
commit
ddcae0f6ae
@ -7609,11 +7609,19 @@ var
|
||||
DeltaCol := 0;
|
||||
DeltaRow := 0;
|
||||
|
||||
// invert direction if necessary
|
||||
//
|
||||
aa := FAutoAdvance;
|
||||
if Inverse then
|
||||
if UseRightToLeftAlignment then
|
||||
case FAutoAdvance of
|
||||
aaLeftUp: aa := aaRightUp;
|
||||
aaLeftDown: aa := aaRightDown;
|
||||
aaLeft: aa := aaRight;
|
||||
aaRightUp: aa := aaLeftUp;
|
||||
aaRightDown: aa := aaLeftDown;
|
||||
aaRight: aa := aaLeft;
|
||||
end;
|
||||
// invert direction if necessary
|
||||
if Inverse then
|
||||
case aa of
|
||||
aaRight: aa := aaLeft;
|
||||
aaLeft: aa := aaRight;
|
||||
aaRightDown: aa := aaLeftUp;
|
||||
|
Loading…
Reference in New Issue
Block a user