Brush pattern with transparency

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
alex
Newbie
Newbie
Posts: 7
Joined: Fri Aug 18, 2006 12:00 am

Brush pattern with transparency

Post by alex » Tue Jul 01, 2008 4:45 pm

Hi,
I use mapseries with bitmaps pattern filling.
When I try to use standart brushes (diagcross) - it is transparent.
But when I try bitmap as brush it's not transparent.

Alex

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jul 02, 2008 9:01 am

Hi Alex,

This works fine for me here using TeeChart Pro v8.02 VCL. Which TeeChart version are you using?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

alex
Newbie
Newbie
Posts: 7
Joined: Fri Aug 18, 2006 12:00 am

Transparent doesn't work

Post by alex » Wed Jul 02, 2008 12:11 pm

I work with TeeChart Pro v7 VCL with source.

I try rewrite this procedure
Procedure TTeeCanvas.AssignBrushColor(ABrush:TChartBrush; AColor,ABackColor:TColor);

with help of loadfromresource and createpatternbrush api functions
I use backmode=transparent and backcolor=clwhite or backcolor=clnone
but back color is not transparent.
On other controls this works fine.

What do I do incorrectly?
How to rewrite procedure that it works?

alex
Newbie
Newbie
Posts: 7
Joined: Fri Aug 18, 2006 12:00 am

Transparent doesn't work

Post by alex » Thu Jul 03, 2008 2:51 pm

Dear sir,

Help to establish please property of teechart transparency .
That it is necessary to correct in a code that the mode of a transparency worked.
Teechart Pro 7.02 w source codes
Alex.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jul 03, 2008 2:58 pm

Hi Alex,

Latest TeeChart Pro v7 VCL source code available at the client area is v7.12. Could you please try download and installing this version and check if it solves the problem at your end?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply