fixed painting on datamodule forms

git-svn-id: trunk@4787 -
This commit is contained in:
mattias 2003-11-09 10:28:38 +00:00
parent 7909407973
commit 94359fa79d

View File

@ -73,6 +73,7 @@ procedure TFormEditor.PaintAllDesignerItems;
var
i: Integer;
ADesigner: TDesigner;
AForm: TCustomForm;
begin
for i:=0 to JITFormList.Count-1 do begin
ADesigner:=TDesigner(JITFormList[i].Designer);
@ -80,6 +81,14 @@ begin
ADesigner.DrawDesignerItems(true);
end;
end;
for i:=0 to JITDataModuleList.Count-1 do begin
AForm:=GetDesignerForm(JITDataModuleList[i]);
if AForm=nil then continue;
ADesigner:=TDesigner(AForm.Designer);
if ADesigner<>nil then begin
ADesigner.DrawDesignerItems(true);
end;
end;
end;
end.