Hallo,
Ähhh... kann sein, ich habe nämlich die DPR ein bisschen "gemoddet":
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42:
| program Morphium;
uses Forms, Controls, Morphium_MainForm in 'Morphium_MainForm.pas' , Morphium_NewForm in 'Morphium_NewForm.pas' , Morphium_ProjectFrame in 'Morphium_ProjectFrame.pas' , Morphium_SetupFrame in 'Morphium_SetupFrame.pas' , Morphium_InfoFrame in 'Morphium_InfoFrame.pas' , Morphium_StartFrame in 'Morphium_StartFrame.pas' , Morphium_InfoForm in 'Morphium_InfoForm.pas' , Morphium_PicturesFrame in 'Morphium_PicturesFrame.pas' , Morphium_PictureFrame in 'Morphium_PictureFrame.pas' ;
{$R *.RES}
begin Application.Initialize; Application.CreateForm(TProjectFrame, ProjectFrame); Application.CreateForm(TSetupFrame, SetupFrame); Application.CreateForm(TInfoFrame, InfoFrame); Application.CreateForm(TStartFrame, StartFrame); Application.CreateForm(TPicturesFrame, PicturesFrame); Application.CreateForm(TPictureFrame, PictureFrame); ProjectFrame.Align := alClient; SetupFrame.Align := alClient; InfoFrame.Align := alClient; StartFrame.Align := alClient; PicturesFrame.Align := alClient; PictureFrame.Align := alClient; Application.CreateForm(TMainForm, MainForm); Application.CreateForm(TNewForm, NewForm); Application.CreateForm(TInfoForm, InfoForm); Application.Run; end. |
Nicht wurdern - das ist keine "Drogensoftware", sondern ein Prog zum morphen von Bildern, daher der Name...
Normalerweise werden die frames nur explizit erzeugt, oder wenn ich zur Designzeit den Frame ins Form ziehe - ich mache es aber so, dann muss ich nämlich nur noch Parent zuweisen, und Zack - Frame sichtbar.