Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Garby,
7. Nov 2003
Hallo choose,
so hab ichs auch gemacht, ist halt nur ein wenig umständlicher.
@maximov: Was passiert bei deiner Methode der Button über Shortcut betätigt wird (da gibts ja kein OnMouseUp)
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Garby,
6. Nov 2003
Danke ich probiers gleich aus.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Garby,
6. Nov 2003
So hab ichs bis jetzt auch gemacht, aber ich dachte vielleicht gibts noch eine elegantere Lösung :lol:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Garby,
6. Nov 2003
Hallo,
ich habe eine Komponente myManel von TPanel abgeleitet. Dort habe ich einen Button draufgesetzt.
Frage: wie kann ich im Button.Click das Panel zerstören?
procedure TmyPanel.CloseClick(Sender: TObject);
begin
FreeAndNil(Self); // oder einfach Free;
end;
funktioniert nicht.