[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to change the color of my menu

Posted on 2006-10-24
5
Medium Priority
?
166 Views
Last Modified: 2010-04-05
Hello Guys,

I downloaded this component xpmenu from http://www.shagrouni.com/english/software/xpmenu.html

it is very nice component, but I didn't figure out how to change the color of my menu. only the bar. Is there a

way to do this?? To change the color of my menu using a gradient colors

Thanks
0
Comment
Question by:hidrau
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
TName earned 2000 total points
ID: 17795341
Hi, I've had a look at the code. You have to set

MyXPMenu.UseSystemColors:=False;

then you can change all the colors, e.g:

MyXPMenu.Color:=clRed;
MyXPMenu.SelectBorderColor:=clYellow;
...
(there are several)
0
 
LVL 28

Expert Comment

by:TName
ID: 17795461
You should be able to set UseSystemColors and the color values themselves in the object inspector also, if you have installed the component.
0
 
LVL 1

Author Comment

by:hidrau
ID: 17795505
Yeah, I have the component installed. I am going to try
0
 
LVL 1

Author Comment

by:hidrau
ID: 17796001
Ok, I could change the color of my menu, do you know if it is possible to make a gradient color ?
0
 
LVL 1

Author Comment

by:hidrau
ID: 17796164
Ok, I understood now
:)
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

830 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