LazReport, fix keys when object ispector editor has focus, modified patch from Junior Goncalves, issue #10934

git-svn-id: trunk@14417 -
This commit is contained in:
jesus 2008-03-05 07:59:39 +00:00
parent 97f0e9c95f
commit ec867d6c35
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,7 @@ German Basisty (ar)
Javier Villarroya (es) Javier Villarroya (es)
Jesus Reyes A. (mx) Jesus Reyes A. (mx)
Joerg Braun (de) Joerg Braun (de)
Junior Goncalves (br)
Mattias Gaertner (de) Mattias Gaertner (de)
Olivier Guilbaud (fr) Olivier Guilbaud (fr)
Petr Smolik (cz) Petr Smolik (cz)

View File

@ -2885,6 +2885,10 @@ var
i, tx, ty, tx1, ty1, d, d1: Integer; i, tx, ty, tx1, ty1, d, d1: Integer;
t, t1: TfrView; t, t1: TfrView;
begin begin
{$IFNDEF EXTOI}
if ActiveControl.Parent = ObjInsp.fPropertyGrid then
exit;
{$ENDIF}
StepX := 0; StepY := 0; StepX := 0; StepY := 0;
if (Key=VK_F11) then if (Key=VK_F11) then
ObjInsp.Visible:=not ObjInsp.Visible; ObjInsp.Visible:=not ObjInsp.Visible;