Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Phoenix,
22. Apr 2015
Hast Du die Visibility von Panel 1 auf public gesetzt?
Du musst auf Deinem TForm3 vielleicht das Panel als Property exposen damit das geht.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Phoenix,
22. Apr 2015
Du könntest mal folgendes probieren:
for i := 0 to Parent.ControlCount - 1 do
if Parent.Controls is TFrame3 then
begin
TFrame3(Parent.Controls).Panel1.Color := clRed;
end;
Ohne Gewähr. Ich hab Delphi das letzte mal vor über 10 Jahren angefasst, aber so in etwa könnte es gehen.