Page 1 of 1

gridband - transparency

Posted: Wed Jun 08, 2005 8:03 am
by 9524808
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? :(

Posted: Wed Jun 08, 2005 8:08 am
by narcis
Hi,

You should use:

Code: Select all

TChart1.Tools.Items(TChart1.Tools.Count - 1).asGridBand.Band1.Transparency

Posted: Wed Jun 08, 2005 12:15 pm
by 9524808
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

Posted: Wed Jun 08, 2005 2:11 pm
by narcis
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.

Posted: Thu Jun 09, 2005 8:54 am
by 9524808
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

Posted: Thu Jun 09, 2005 1:59 pm
by narcis
Hi Bush,

You're welcome! I'm glad to hear it works fine now :D .