Solved

ToolBar is shown transparent in Delphi7

Posted on 2004-03-22
5
598 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 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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