Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Sharky,
5. Apr 2005
:bounce1:
Danke. Jetzt geht es.
Ich werde mich mit den Interfacen mal etwas mehr beschäftigen.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Sharky,
5. Apr 2005
Hmmm.
Hai Bernhard, leider kommt noch immer der selbe Fehler.
@choose:
Was für ein Typ muss denn myRef sein?
if newForm.GetInterface(IMyInterface, myRef) then
myRef.SetLabelText('AText');
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Sharky,
5. Apr 2005
Heute scheint nicht mein Tag zu sein :wall:
Jetzt bekomme ich hier:
newFormClass := TForm2;
Ich hänge den jetzigen Stand des TestProjektes noch einaml an.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Sharky,
5. Apr 2005
Hai Bernhard,
ich habe das jetzt mal versucht allerdings kommt in dieser Zeile:
newForm := newFormClass.Create(Self);
die Meldung:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Sharky,
29. Mär 2005
Hai,
ich "spiele" eben etas mit TFormClass.
Meine Forms (TForm2 und TForm3) haben beide eine Methode .SetLabelText. Gibt es eine andere Möglichkeit auf diese von meiner Form1 zugreifen zu können als wie so:
procedure TForm1.Button1Click(Sender: TObject);
var
newFormClass : TFormClass;
newForm : TForm;