IDE: putting inline component into form: fixed lookuproot of methods

git-svn-id: trunk@15699 -
This commit is contained in:
mattias 2008-07-07 20:43:13 +00:00
parent 9cf5b70a7d
commit bc8c1dea0f

View File

@ -1251,6 +1251,7 @@ begin
{ $ENDIF} { $ENDIF}
try try
try try
FCurReadJITComponent:=Component;
ReadInlineComponent(Component,TComponentClass(Component.ClassType),Component.Owner); ReadInlineComponent(Component,TComponentClass(Component.ClassType),Component.Owner);
except except
on E: Exception do begin on E: Exception do begin
@ -1266,6 +1267,7 @@ begin
UnregisterFindGlobalComponentProc(@MyFindGlobalComponent); UnregisterFindGlobalComponentProc(@MyFindGlobalComponent);
Application.FindGlobalComponentEnabled:=true; Application.FindGlobalComponentEnabled:=true;
end; end;
FCurReadJITComponent:=nil;
FCurReadStreamClass:=nil; FCurReadStreamClass:=nil;
end; end;