Registriert seit: 21. Jun 2002
602 Beiträge
|
2. Jan 2003, 15:51
Hi DH2k,
wenn du die Frames statisch erzeugst (also wenn Delphi das für dich macht und du nicht AFrame := TMyFrame.Create() etc. aufrufst), dann kannst du das im Projektquelltext machen:
Delphi-Quellcode:
// zu finden unter Project|View Source
program Project1;
uses
Forms,
Unit1 in ' Unit1.pas' {Form1},
Unit2 in ' Unit2.pas' {Frame2: TFrame};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Form1.Frame21.Test := ' Test';
// oder wenn die Variable kein Member von TFrame2 ist, sondern in der
// Unit unter var im interface-Teil
Unit2.Test := ' Test';
Application.Run;
end.
MfG,
d3g
-- Crucifixion?
-- Yes.
-- Good. Out of the door, line on the left, one cross each.
|