Hello,
This is an error I found since last version changes of ImagEn in several projects. But I could reproduce it now
with PhotoEn demo.
If I open an image file in the PhotoEn demo via Menu File/Open, everything is ok.
If I want to open the same image file with FormCreate
procedure TMainForm.FormCreate(Sender: TObject);
var
Filename : string;
begin
Application.OnHint := ShowHint;
Screen.OnActiveFormChange := UpdateMenuItems;
SpeedPanel.ParentBackground := False;
Panel1.ParentBackground := False;
FileName := 'C:\Temp\Bild 1.png';
CreateMDIChild(FileName, false);
end;
I get the error in German "Formular kann nicht erstellt werden. Aktuell sind keine MDI-Formulare aktiv"
in English : "Form cannot be produced. Actually no MDI-Forms are active"
What shall I add to FormCreate?
Sincerely Peter