IDE: open designer: nested classes: todo

git-svn-id: trunk@40023 -
This commit is contained in:
mattias 2013-01-29 13:58:07 +00:00
parent 314c442ef8
commit d834d99ca1

View File

@ -2072,11 +2072,14 @@ begin
for i:=0 to AnUnitInfo.ComponentFallbackClasses.Count-1 do begin
if SysUtils.CompareText(AnUnitInfo.ComponentFallbackClasses[i],ComponentClassName)=0
then begin
{$IFDEF EnableNestedComponentsWithoutLFM}
ComponentClass:=TComponentClass(Pointer(AnUnitInfo.ComponentFallbackClasses.Objects[i]));
if ComponentClass<>nil then begin
// ToDo: create or share a jitclass
debugln(['TCustomFormEditor.JITListFindClass searched "',ComponentClassName,'", found fallback class "',DbgSName(ComponentClass),'" of unitinfo ',AnUnitInfo.Filename]);
exit;
end;
{$ENDIF}
end;
end;
end;