Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by chrisw,
15. Nov 2005
Da ist ja auch noch das Free drin !
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by chrisw,
15. Nov 2005
In Deinem Beispiel instanziert Du ein Object vom Typ TForm (with TForm2.Create(Application)..)
dann machst Du das ModaResult mit ShowModal auf 0. Jetzt destroyest Du das Form (finally Free;).
Das kann doch nicht funktionieren, oder ?
Ersetz mal das Showmodal durch Show und kommentiere das Free aus (//), dann funktioniert das auch !
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by chrisw,
15. Nov 2005
Nimm mal Show statt showmodal, dann sollte das funktionieren ! :idea: