mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +02:00
Minor fix to objectinspector hints.
Shane git-svn-id: trunk@470 -
This commit is contained in:
parent
804670921f
commit
0ff785843c
@ -1227,6 +1227,7 @@ var
|
||||
PointedRow:TOIpropertyGridRow;
|
||||
TypeKind : TTypeKind;
|
||||
Window :TWinControl;
|
||||
Window2 : TWInControl;
|
||||
begin
|
||||
FHintTimer.Enabled := False;
|
||||
|
||||
@ -1237,8 +1238,13 @@ begin
|
||||
//get the parent until parent is nil
|
||||
While Window.Parent <> nil do
|
||||
Window := Window.Parent;
|
||||
Writeln('window is ',Window.NAme);
|
||||
|
||||
if (window <> Self) then Exit;
|
||||
Window2 := self;
|
||||
while Window2.Parent <> nil do
|
||||
Window2 := Window2.Parent;
|
||||
|
||||
if (window <> Window2) then Exit;
|
||||
|
||||
if ( (FLastMouseMovePos.X <= 0) or (FLastMouseMOvePos.Y <= 0)
|
||||
or (FLastMouseMovePos.X >= Width) or (FLastMouseMovePos.Y >= Height)) then
|
||||
|
Loading…
Reference in New Issue
Block a user