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
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
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,..
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
Ciao, Mike
ASKER
Thanks Mike,
Sorry, Im using Delphi3 and do you know of any components that I could use ?
Sorry, Im using Delphi3 and do you know of any components that I could use ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Mike..
Much appreciated.
Much appreciated.
Ciao, Mike