Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Changing TMenu properties

Posted on 1999-07-21
6
Medium Priority
?
267 Views
Last Modified: 2010-04-04
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
0
Comment
Question by:StuartB_99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:Lischke
ID: 1390112
Do you want to change the appearence of a TMenu component or do you want to change all menus in the system?

Ciao, Mike
0
 

Author Comment

by:StuartB_99
ID: 1390113
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,..
0
 
LVL 10

Expert Comment

by:Lischke
ID: 1390114
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
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:StuartB_99
ID: 1390115
Thanks Mike,
Sorry, Im using Delphi3 and do you know of any components that I could use ?
0
 
LVL 10

Accepted Solution

by:
Lischke earned 200 total points
ID: 1390116
Stu, look at www.delphipages.com (Menus section) there's a freeware pack with source called "#1 Menu for Delphi: AnimatedMenus/2000" or look at www.torry.ru (also Menus section) for Menus97. At DSP (http://sunsite.icm.edu.pl/delphi/) you can find Menus2 (which is for D1 though) and exmenus for D2/D3.

Ciao, Mike
0
 

Author Comment

by:StuartB_99
ID: 1390117
Thanks Mike..
Much appreciated.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question