LCL, grids bidi fixes: unable to show editor in some locations

git-svn-id: trunk@31548 -
This commit is contained in:
jesus 2011-07-04 06:17:25 +00:00
parent a3238d132e
commit 60702c64ee

View File

@ -7148,7 +7148,8 @@ begin
// send editor bounds // send editor bounds
Msg.CellRect:=CellRect(FCol,FRow); Msg.CellRect:=CellRect(FCol,FRow);
if (Msg.CellRect.Top<FGCache.FixedHeight) or if (Msg.CellRect.Top<FGCache.FixedHeight) or
(Msg.CellRect.Left<FGCache.FixedWidth) then (UseRightToLeftAlignment and (Msg.CellRect.Right-1>FlipX(FGCache.FixedWidth))) or
(not UseRightToLeftAlignment and (Msg.CellRect.Left<FGCache.FixedWidth)) then
begin begin
// editor is not in visible area, hide it complety // editor is not in visible area, hide it complety
// to avoid showing it in fixed cell area // to avoid showing it in fixed cell area