Solved

ToolBar is shown transparent in Delphi7

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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