Autor Beitrag
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Do 15.07.04 20:10 
Ok, blöde Frage ich hab mich bestimmt nur verechnet aber wo?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormResize(Sender: TObject);
begin
  Panel1.Top := (Form1.Height - Panel1.Height) div 2;
end;


Jetzt müsste das panel doch nach oben und unten zentriert sein. :?
Schattengeist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Do 15.07.04 20:27 
versuch Clienthigh und width
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Fr 15.10.04 18:23 
thx, hat geklappt. :)