Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mi 18.11.09 23:16 
Hallo,

ich würde gerne die Schriftfarbe der ActionMainMenuBar ändern. Das habe ich in der zugeordneten ColorMap auch spezifiziert.

Leider übernimmt die MenuBar die FontColor-Eigenschaft nicht. Habt ihr ne Idee, an was das liegen könnte?

Ich habe mal ein Beispielprojekt angehangen, wo nur die Komponenten drin sind, die für das Problem relevant sind.

Danke!

Ciao LHUser
Einloggen, um Attachments anzusehen!
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Fr 20.11.09 17:46 
Niemand :(?
wp_xxyyzz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 40



BeitragVerfasst: So 22.11.09 23:34 
Geht StandardColorMap1.FontColor nicht? Bei meinem Delphi 7 zumindest wird damit die Schriftfarbe der Menüzeile in deinem Projekt geändert (allerdings musste ich JvMenus und PlatformDefaultStyleActnCtrls aus der uses-Liste entfernen - liegt wahrscheinlich an D7).

Gruß
Werner
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 23.11.09 09:58 
Du hast recht. Aber das ganze funktioniert nur dann, wenn ich den XP-Stil, und nicht den SystemDefault Stil aktiviere.

Ich muss vielleicht dazu sagen, dass ich unter Windows 7 und Delphi 2010 arbeite. Und beim SystemDefault-Stil von win7 wird irgendwie die fontcolor-Eigenschaft ignoriert :( Das scheint ein Bug zu sein.
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: Mo 23.11.09 10:05 
oder von MS absicht damit es schön so ausschaut wie sich das ein paar grafiker von MS vorstellen. ;)

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 23.11.09 10:46 
Das kann auch sein :D

Ich möchte ja im Grunde auch die standardisierten Windows-Menüs (die Menü-Sheets) verwenden, aber die Farbe und die Schriftart der Menüleiste an sich soll anpassbar sein. Ich habe eben bis dato keine Komponente gefunden, die das leistet.

Im Moment realisiere ich das mit Labels, die Popupmenus öffnen :shock: Keine gute Lösung, aber es geht scheinbar nicht anders :(

Edit: Ich habe das ganze gerade mit nem normalen TMainMenu probiert, aber da kann man in dieser Hinsicht auch bei Delphi 2010 rein garnichts einstellen.

Habt ihr vielleicht noch ne andere Idee, wie ich das Problem lösen könnte? Vielleicht über eine andere MainMenu-Komponente?
wp_xxyyzz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 40



BeitragVerfasst: Mo 23.11.09 17:11 
user profile iconLonghornUser hat folgendes geschrieben Zum zitierten Posting springen:
Habt ihr vielleicht noch ne andere Idee, wie ich das Problem lösen könnte? Vielleicht über eine andere MainMenu-Komponente?


TXPMenubar auf delphihaven.wordpress.com/xpmenubar/ bzw. cc.embarcadero.com/Item/27178 ? (Hab's selbst aber noch nicht getestet)
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 23.11.09 21:15 
Ich habe mir mal die EXE-Demo angeschaut. Das sieht sehr gut aus!

Vielen Dank für deinen Tipp, ich werde es mir morgen mal anschauen!
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Di 24.11.09 17:30 
Das war genau das, was ich gesucht habe.

Vielen, vielen Dank!