Autor Beitrag
Martoeng
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 25



BeitragVerfasst: Fr 18.06.04 11:39 
Hi Leute,

kann mir jemand von euch sagen, wie ich die Hintergrundfarbe der Caption einer Checkbox (die Box an sich bleibt weiß) transparent kriege?

Bin irgendwie zu blöd selbst was zu finden... :-(


Thx & MfG

Martoeng
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Fr 18.06.04 11:55 
Hmm, ich würde Caption auf '' setzen und neben der Checkbox ein Label mit Transparent:=True; erzeugen.

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
MartinPb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 698



BeitragVerfasst: Fr 18.06.04 11:59 
Soweit ich weiß geht das nicht. Da sind schon andere dran verzweifelt. An besten Caption in CheckBox leer lassen, Komponente an Check Teil anpassen und Caption mit Label lösen.

Alternativ eine Komponente aus dem Internet runterladen.

_________________
Gruß
Martin
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Fr 18.06.04 18:19 
hmmm, die sicherste Lösung ist, einfach eine neue Klasse ableiten und die Paint() Methode überschreiben. Ist natürlich aufwendig.
grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?
Martoeng Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 25



BeitragVerfasst: Mo 21.06.04 06:21 
Hi,

danke für die Informationen.

Ich glaub ich werd die erste Variante ausprobieren.

Irgendwelche Klassen modifizieren is mir nichts, da lass ich noch die Finger von... :)



MfG

Martoeng