Autor Beitrag
Flamefire
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1207
Erhaltene Danke: 31

Win 10
Delphi 2009 Pro, C++ (Visual Studio)
BeitragVerfasst: Fr 19.10.07 14:13 
Ja also ich möchte a) dem Formular eine neu Form geben (z.b. mit abgerundeten Ecken) und b) einen Farbverlauf als Hintergrundfarbe haben. Das Formular hat aber eine dynamische Größe (der Farbverlauf soll also entsprechend angpasst werden)

Ich hab dazu auch ein paar Threads gefunden, aber iwie keine Lösung...

Vielen Dank schonmal
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Fr 19.10.07 15:15 
wie wäre es mit selber zeichnen. mittels Form1.Canvas.

such mal danach. ;-)

lg elundril

P.S: normalerweise nur ein frage pro topic!
DaLord
Hält's aus hier
Beiträge: 11


Delphi 6 und 7
BeitragVerfasst: Di 23.10.07 08:47 
Die JVCL hat dafür wunderschöne Komponenten.

Für den Farbverlauf zB. JvGradient.

Und wenn es nur um runde Ecken geht, nimm als Hintergrund eine Farbe die sost nicht verwendet wird (z.B. clFuchsia), mach diese Farbe Trasparent und lege auf dein Form eine JvShape oder ein Image mit dem entsprechenden Hintergrund.
Beachte aber beim Image die transparent-color!!!