Autor Beitrag
PhilGo
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 315

Win 98, Win Longhorn ;-)

BeitragVerfasst: Di 21.10.03 15:19 
Hi hier bin ich nochmal.
Kann mir jemand sagen wie ich um meine Form(ohne Titelleiste) ein Rand hinbekomme? Ich find es nämlich blöd, wenn jemand ein hellen Hintergrund hat, weil mein Programm weiß is(Übergange kann man nicht erkennen). :x

Mfg PhilGo

_________________
Sie werden dich finden und töten... Söhne der großen Bärin!
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Di 21.10.03 15:29 
Hi,

du brauchst das OnPaint der Form:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormPaint(Sender: TObject);
begin
  Canvas.Rectangle(GetClientRect);
end;


MFG

- Ernesto -
ShadowThief
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278



BeitragVerfasst: Di 21.10.03 15:38 
falls man den zur design-time auch schon haben will, kann
man ja auch ein TShape oder so nehmen.

shadow.

_________________
"soylent grün ist menschenfleisch!"
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Di 21.10.03 15:56 
Hi,

kostet aber Speicher, nur wegen einem Rand.

MFG

- Ernesto -
ShadowThief
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278



BeitragVerfasst: Di 21.10.03 16:27 
schon klar.

_________________
"soylent grün ist menschenfleisch!"
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mi 22.10.03 08:55 
Schau mal auf www.swissdelphicenter.ch - da gibts nen Tipp dazu...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Ja-Pa
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 458

Win XP, Suse 9.3
D1, D3, D5 Std, D7 Pro, D2005 Pers, Kylix 3
BeitragVerfasst: Mi 22.10.03 16:26 
Genau das wollte ich auch fragen.
Der genaue Link ist übrigens www.swissdelphicente.../showcode.php?id=868

_________________
Der Autor dieses Textes haftet nicht für Schäden an Soft- oder Hardware
oder Vermögensschäden, die durch das Benutzen des Textes entstehen.
PhilGo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 315

Win 98, Win Longhorn ;-)

BeitragVerfasst: So 26.10.03 14:37 
Danke für den Link. :P

Mfg PhilGo

_________________
Sie werden dich finden und töten... Söhne der großen Bärin!