Hide TChart on page load (VBScript or Jscript) - HTML

TeeChart for ActiveX, COM and ASP
Post Reply
pro17
Newbie
Newbie
Posts: 11
Joined: Tue Feb 27, 2007 12:00 am

Hide TChart on page load (VBScript or Jscript) - HTML

Post by pro17 » Mon May 07, 2007 12:29 pm

Is it possible to hide the chart when loading page.

I know how to hide it and make it visible again, but I wan't initial "state" to be hidden.

Maybe it's silly question, but I am newbie.

Best Regards,
JinX

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri May 11, 2007 3:37 pm

Hi Jinx,

I think there's a way to do this for all the objects added into the page, but this is related to vbScript code. With the TChart object you only can set it visible to false in the OnLoad page (TChart.Visible = False) which will hide it until the object has been activated.
You could look through google newsgroups, surely you will find a basic code which allow to hide objects loading pages.
If I know anyone I'll let you know.

Post Reply