Link to home
Start Free TrialLog in
Avatar of StuartB_99
StuartB_99

asked on

Changing TMenu properties

Hi,
How can I change the Color, Font and Font Color of a TMenu component without usithe windows Display Properties(Appearance) Tab..

Thanx in advance

Stu
Avatar of Lischke
Lischke

Do you want to change the appearence of a TMenu component or do you want to change all menus in the system?

Ciao, Mike
Avatar of StuartB_99

ASKER

Hi Mike,
Thanks for the quick response, I would like to change all the menus in my application but I dont want the standard Windows menus to change from the users pre-defined scheme,

So all menus in My application only,..
Well, then we need only to clarify which Delphi version you are using. If it is D4 then the task is easy, as there is an ownerdraw property for TMenu. If you set this to true then you can assign an OnItemDraw handler for your menu items. If you don't use D4 then the task becomes harder since you have to manually set the menus to be ownerdrawn (for this task there are free components on the usual Delphi sites).

Ciao, Mike
Thanks Mike,
Sorry, Im using Delphi3 and do you know of any components that I could use ?
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Mike..
Much appreciated.