ToolBar is shown transparent in Delphi7

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

vcarballoAsked:
Who is Participating?
 
Ferruccio AccalaiConnect With a Mentor Senior developer, analyst and customer assistance Commented:
--> 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
 
deanboy3Commented:
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
 
vcarballoAuthor Commented:
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
 
vcarballoAuthor Commented:
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
 
vcarballoAuthor Commented:
Finally I found the error inside Object Pascal, Thanks a lot for your help

;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.