Page 1 of 1

Brush pattern with transparency

Posted: Tue Jul 01, 2008 4:45 pm
by 9347231
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

Posted: Wed Jul 02, 2008 9:01 am
by narcis
Hi Alex,

This works fine for me here using TeeChart Pro v8.02 VCL. Which TeeChart version are you using?

Transparent doesn't work

Posted: Wed Jul 02, 2008 12:11 pm
by 9347231
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?

Transparent doesn't work

Posted: Thu Jul 03, 2008 2:51 pm
by 9347231
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.

Posted: Thu Jul 03, 2008 2:58 pm
by narcis
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.