Autor Beitrag
cwille
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

xp,win2003-server,linux
D7 Enterprise
BeitragVerfasst: Do 23.12.04 14:45 
Hallo,

wenn ich einer from.Caption eines neuen Text zuweise, wird dieser nicht angeigt, sondern immer nur der, der zur Entwurfzeit in der Eigenschaft Caption eingetragen wurde.

z.B. frmAuszerf.Caption:='123'; bleibt ohne Wirkung

Nach dem Aufruf des MDI-Formulars erscheint immer nur der vorher eingestellte Text oben im Formularkopf.
In diesem Fall: Auszahlungsanordnung

Danke und frohe Weihnachten
Gruß Carsten
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Do 23.12.04 16:08 
Hi
sieht so aus als würdest du nicht die richtige Form ansprechen. Erzeugst du die MDIChilds zur Laufzeit dynamisch?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
//Form erzeugen, Caption ändern, anzeigen
with TfrmAuszerf.Create(self) do begin
  Caption := '123';
  Show;
end;

Grundsätzlich funktioniert das. Wär ja auch noch schöner.

Frohe Weihnachten
Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
cwille Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

xp,win2003-server,linux
D7 Enterprise
BeitragVerfasst: Mo 27.12.04 07:57 
Hallo Lothar,

ja so geht´s , besten Dank.
Die MDI-Childs werden nicht dynamisch erzeugt.

Gruß Carsten