mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 06:19:32 +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;
|
PointedRow:TOIpropertyGridRow;
|
||||||
TypeKind : TTypeKind;
|
TypeKind : TTypeKind;
|
||||||
Window :TWinControl;
|
Window :TWinControl;
|
||||||
|
Window2 : TWInControl;
|
||||||
begin
|
begin
|
||||||
FHintTimer.Enabled := False;
|
FHintTimer.Enabled := False;
|
||||||
|
|
||||||
@ -1237,8 +1238,13 @@ begin
|
|||||||
//get the parent until parent is nil
|
//get the parent until parent is nil
|
||||||
While Window.Parent <> nil do
|
While Window.Parent <> nil do
|
||||||
Window := Window.Parent;
|
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)
|
if ( (FLastMouseMovePos.X <= 0) or (FLastMouseMOvePos.Y <= 0)
|
||||||
or (FLastMouseMovePos.X >= Width) or (FLastMouseMovePos.Y >= Height)) then
|
or (FLastMouseMovePos.X >= Width) or (FLastMouseMovePos.Y >= Height)) then
|
||||||
|
Loading…
Reference in New Issue
Block a user