gridband - transparency

TeeChart for ActiveX, COM and ASP
Post Reply
Bush
Newbie
Newbie
Posts: 50
Joined: Fri Nov 05, 2004 5:00 am

gridband - transparency

Post by Bush » Wed Jun 08, 2005 8:03 am

Hi,

When trying to change the Tchart.tools(tchart.tools.count-1)asgridband.band1.transparency we get 'Object doesn't support this property or method'

A bug or I am doing something wrong please? :(

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 Jun 08, 2005 8:08 am

Hi,

You should use:

Code: Select all

TChart1.Tools.Items(TChart1.Tools.Count - 1).asGridBand.Band1.Transparency
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

Bush
Newbie
Newbie
Posts: 50
Joined: Fri Nov 05, 2004 5:00 am

Post by Bush » Wed Jun 08, 2005 12:15 pm

Mny thx yr quick reply.
Sorry, forget "Items" in my comments; but that's exactly what I'am using.
(Working with 7.0.0.4)

TChart1.Tools.Items(TChart1.Tools.Count - 1).asGridBand.Band1.Transparency
Gives object doesn't support this property or method.
Colors and axis are fine, the problem is only with transparency

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 Jun 08, 2005 2:11 pm

Hi,

It works fine here using the same version as you. Have you already created a GridBand Tool and assigned it to an axis?

If you can resolve this problem please send us an example we can run "as-is" to reproduce the problem here. You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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

Bush
Newbie
Newbie
Posts: 50
Joined: Fri Nov 05, 2004 5:00 am

Post by Bush » Thu Jun 09, 2005 8:54 am

Hi Narcis,

When trying to reproduce the problem in a new project, transparency worked fine.
In my proper project the form having TChart was passed into the sub.
(frm as form) and so I used frm.Tchart. Strange everything worked except transparency. I now pass (TC as Tchart) and everything is perfect now. Mny thx your assistance and quick support. :D

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 Jun 09, 2005 1:59 pm

Hi Bush,

You're welcome! I'm glad to hear it works fine now :D .
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