Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Delphi.Narium,
13. Feb 2021
ProtokollFrame := TblaFrame.create(Self);
...
ProtokollFrame.Parent := PanelStandard; //TPanel
ProtokollFrame.Load; //irgend eine Fkt in blaFrame in der die ComboBox angesprochen wird.
Da die Combobox wohl 'nen Parent braucht (und zwar vor ihrer erstmaligen Benutzung / Befüllung ..., wäre es eventuell sinnvoll ihr vor der erstmaligen Benutzung / Befüllung ... einen Parent zuzuweisen.
Was...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Delphi.Narium,
12. Feb 2021
ProtokollFrame.Parent := Panel1; // Das, worauf ProtokollFrame erscheinen soll.
// oder
ProtokollFrame.Parent := Form1;
// oder
ProtokollFrame.Parent := Self; // Janachdem, was hier Self ist und ob man ein Frame darauf platzieren kann / darf.
// eventuell noch:
ProtokollFrame.Align := alClient; // alTop ...
// oder
ProtokollFrame.Top := 0; // Oder welche Koordinaten, Höhe, Breite ......