Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Panel wird nicht angezeigt nach dynamischer Erzeugung? (https://www.delphipraxis.net/122456-panel-wird-nicht-angezeigt-nach-dynamischer-erzeugung.html)

SimStar001 16. Okt 2008 13:31


Panel wird nicht angezeigt nach dynamischer Erzeugung?
 
Ich kann einfach den Fehler nciht finden wieso mein Panel nicht angezeigt wird. kann mir jemand helfen?


Delphi-Quellcode:
// Status Panel generieren
    Status_Panel := TPanel.create(form1);
    Status_Panel.Parent := form1;
    Status_Panel.Left := 0;
    Status_Panel.Height := 33;
    Status_Panel.Top := 991;
    Status_Panel.Width := 1024;
    Status_Panel.Ctl3D := false;
    Status_Panel.Color := clbtnface;
    Status_Panel.Visible := true;

    //Status_Label generieren
    Status_Label := TLabel.Create(Form1);
    Status_Label.Parent := Status_Panel;
    Status_Label.Caption := 'hallo';


Vielleicht bin ich auch einfach nur blind! :wall:

HenKst 16. Okt 2008 13:44

Re: Panel wird nicht angezeigt nach dynamischer Erzeugung?
 
Wie hoch ist denn dein Form?

Bei top:= 991 könnte ich mir vorstellen das es einfach ausserhalb des Froms ist ;)

Ansonsten versuchs mal mit Panel.show.

SimStar001 16. Okt 2008 15:02

Re: Panel wird nicht angezeigt nach dynamischer Erzeugung?
 
Danke genau das wars! meine Form ist ja nur 768 hoch! :wall: :wall: :wall: :wall: :wall: :wall:


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz