Autor Beitrag
wehrfried
Hält's aus hier
Beiträge: 1



BeitragVerfasst: So 06.04.03 14:00 
Hallo,
ich habe das Problem, dass bei mir alle Knöpfe (TButton) die gleiche Farbe, nämlich grau, haben.
Daher möchte ich gern wissen wie man deren Farbe ändert.

_________________
cu wehrfried
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 06.04.03 14:09 
geht leider nich direkt. Aber guckst du z.B. hier:

www.delphi-forum.de/viewtopic.php?t=8127

_________________
We are, we were and will not be.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 06.04.03 14:52 
Geht nicht?!? Geht doch... schau dir mal die Message WM_CTLCOLORBTN an...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 06.04.03 16:24 
Oder auch nicht:
Zitat:

Drawing push buttons requires several different brushes-face, highlight and shadow-but the WM_CTLCOLORBTN message allows only one brush to be returned. To provide a custom appearance for push buttons, use an owner-drawn button.