Autor Beitrag
gbst51sc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Mi 31.05.06 08:04 
hi,

wie kann man mit canvas Text transparent ausgeben, sodass es gescheut aussieht wenn man im hintergrund zum beispiel einen farbverlauf hat.

mit label geht das zwar über transparent:=true aber z. b. in einer Listbox/ combobox funktioniert das im Drawitem-Ereignis nicht.

Kann jemand helfen?

Danke
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Mi 31.05.06 08:06 
ausblenden Delphi-Quelltext
1:
2:
Brush.Style := bsClear;
Textout (2,2,'Text');

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
gbst51sc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Windows XP
Delphi 7.0 Enterprise, Delphi 2005 Personal
BeitragVerfasst: Mi 31.05.06 08:39 
Vielen Dank!!!
Hätte man selbst draufkommen können
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Mi 31.05.06 08:59 
user profile icongbst51sc hat folgendes geschrieben:
Vielen Dank!!!
Hätte man selbst draufkommen können


Nicht unbedingt, aber die Suche hätte bestimmt was ergeben :wink:

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!