Solved

ToolBar is shown transparent in Delphi7

Posted on 2004-03-22
5
591 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
  • 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 22

Accepted Solution

by:
Ferruccio Accalai earned 125 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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