Merged revision(s) 55213 #f7785d9196 from trunk:

LCL: Fixed access violation with Application.BidiMode bdRightToLeft and ChildSizing.Layout cclTopToBottomThenLeftToRight. Issue #31966
........

git-svn-id: branches/fixes_1_8@55253 -
This commit is contained in:
maxim 2017-06-05 22:41:40 +00:00
parent a0d5e25efe
commit 02956076e4

View File

@ -1560,7 +1560,7 @@ begin
Col:=i div LineMax;
Row:=i mod LineMax;
if (BiDiMode=bdRightToLeft) then
Col:=LineMax-Col-1;
Col:=ChildCount[asboHorizontal]-Col-1;
ChildBox:=Children[asboVertical][Row].Children[asboHorizontal][Col];
ChildBox.SetControl(ChildControl);
ChildBox.ApplyChildsizingBorders(ChildSizing);