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

x
?
Solved

ToolBar is shown transparent in Delphi7

Posted on 2004-03-22
5
Medium Priority
?
605 Views
Last Modified: 2010-04-05
Hi:

When I put a Toolbar component in a form usin Delphi7 Enterprise Edition, the toolbar is
shown in transparent style, but I need it not transparent. I set the transparent property to
false but it doesn't work.

How do I get a not transparent toolbar ??

Thanks a lot for your help

0
Comment
Question by:vcarballo
[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
5 Comments
 

Expert Comment

by:deanboy3
ID: 10654072
Try setting the color
ToolBar1.Color := clBtnFace;
when you change the background color of a form, delphi automatically changes toolbar's colors to match,
0
 
LVL 23

Accepted Solution

by:
Ferruccio Accalai earned 375 total points
ID: 10655630
--> when you change the background color of a form, delphi automatically changes toolbar's colors to match
not right. It happens only if TToolbar.parentcolor is true although TToolbar.Transparent is false...

So take care that ParentColor is False....

0
 

Author Comment

by:vcarballo
ID: 10733777
I tried setting the toolbar color and transparent property to false but the toolbar is shown in transparent mode allways.

This is a project developed with Delphi 6 and now I'm opening the project with Delphi7.
It does matter ??

Help please
0
 

Author Comment

by:vcarballo
ID: 10799273
Hi:

I was checking the problem and the toolbar is allways shown in transparent style
only when I add the XPManifest component to the Porject Main form.

Help please...
0
 

Author Comment

by:vcarballo
ID: 11802278
Finally I found the error inside Object Pascal, Thanks a lot for your help

;-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

722 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