Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Edelfix,
9. Apr 2020
Update.
OnActivate feuert doch wenn ich die Child Form in Objektinspektor auf Visible True stelle.
Dafür feuert onShow zwei mal. Erste mal bei aForm := aForm := TCustomForm.Create(self); und das zweite mal bei aForm.Show.
Bin gerade ratlos.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Edelfix,
9. Apr 2020
Ich meine eine anwendung mit einer Main Form und alle anderen sind Child Formen.
Bedeutet das sie die Main Form als Parent haben. Zum Beispiel:
aForm := TDBAngeboteForm.Create(self);
aForm.BorderStyle := bsNone;
aForm.Parent := MainForm;
aForm.Align := alClient;
aForm.Show;
Wenn ich die Child Formen so starte dann wird onActivate der Child Formen nich ausgelöst. OnDeactivate...