Autor Beitrag
cherry
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Mi 14.06.06 08:33 
Hi..

Es geht immer noch um meine Button Komponente(von TCustomControl).
Wie mache ich meine Canvas z.B. Rund? Gibts da so was wie Canvas Regions, oder
wie tu ich das machen?

_________________
AM I TOO SEXY?
Ist das nur mein Gefühl, oder ist die ganze Welt verrückt geworden!?
Christian R.
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 15.06.06 10:50 
Ich gehe jetzt mal ganz stark davon aus, dass Du wieder mit SetWindowRegions arbeiten solltest.

Siehe hier (aktuelle Beiträge):

Form abrunden
SetWindowRegion - Wieso nicht TransparentColor
Runde Form

Im Endeffekt nimmst Du anstatt des Handles für Dein Form das Handle Deiner Komponente. Aber ich habe es selbst noch nicht ausprobieren können.

(Wenn ich falsch liegen sollte, bitte berichtigt mich sofort ...)

// Edit: Ich meine das Handle Deiner TCustomControl
cherry Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Mo 19.06.06 06:18 
Vielen Dank,
das Funktioniert recht gut!

THX

_________________
AM I TOO SEXY?
Ist das nur mein Gefühl, oder ist die ganze Welt verrückt geworden!?