Jump to content
Software FX Community

customising chartfx start state


User (Legacy)

Recommended Posts

I am using ChartFX 5.1 in VB.NET 2003.

I am using the property pages to customise the way that my chart appears on

startup. I have been able to do everything that I want with one exception. I

want to be able to not show the annotation toolbar on startup.

The Data/Behavior tab on the active-x properties dialog allows me to toggle

on and off all of the other toolbars and menus, but does not let me toggle

off the annotation toolbar. Is there a way to do this either in the

designer, or in code?

Many thanks

Graeme Neath

Link to comment
Share on other sites

You need to do it in code:

annotation.ToolBar = True

--

FP

Software FX, Inc.

"Graeme Neath" <graeme@whatever.com> wrote in message

news:dJMjEyQFFHA.768@webserver3.softwarefx.com...

>I am using ChartFX 5.1 in VB.NET 2003.

>

> I am using the property pages to customise the way that my chart appears

> on startup. I have been able to do everything that I want with one

> exception. I want to be able to not show the annotation toolbar on

> startup.

>

> The Data/Behavior tab on the active-x properties dialog allows me to

> toggle on and off all of the other toolbars and menus, but does not let me

> toggle off the annotation toolbar. Is there a way to do this either in the

> designer, or in code?

>

> Many thanks

> Graeme Neath

>

Link to comment
Share on other sites

Ok, but what is 'annotation' in your example code?

From my 'ChartFX1' object I can get to the following toolbar objects:

DataEditorObj

LegendBoxObj

MenuBarObj

PaletteBarObj

PatterBarObj

SerLegBoxObj

ToolBarObj

but I can't see how to get the Annotation bar object.

"Software FX Support" <noreply@softwarefx.com> wrote in message

news:RrAIYJtFFHA.2484@webserver3.softwarefx.com...

> You need to do it in code:

>

> annotation.ToolBar = True

>

> --

> FP

> Software FX, Inc.

> "Graeme Neath" <graeme@whatever.com> wrote in message

> news:dJMjEyQFFHA.768@webserver3.softwarefx.com...

>>I am using ChartFX 5.1 in VB.NET 2003.

>>

>> I am using the property pages to customise the way that my chart appears

>> on startup. I have been able to do everything that I want with one

>> exception. I want to be able to not show the annotation toolbar on

>> startup.

>>

>> The Data/Behavior tab on the active-x properties dialog allows me to

>> toggle on and off all of the other toolbars and menus, but does not let

>> me toggle off the annotation toolbar. Is there a way to do this either in

>> the designer, or in code?

>>

>> Many thanks

>> Graeme Neath

>>

>

>

Link to comment
Share on other sites

Having done a quick test project I see that the 'annotation' toolbar is not 

one of the standard ones. I'll have a look through our code to see where it

has come from!

"Graeme Neath" <graeme@whatever.com> wrote in message

news:ilVwTdDGFHA.1072@webserver3.softwarefx.com...

> Ok, but what is 'annotation' in your example code?

>

> From my 'ChartFX1' object I can get to the following toolbar objects:

>

> DataEditorObj

> LegendBoxObj

> MenuBarObj

> PaletteBarObj

> PatterBarObj

> SerLegBoxObj

> ToolBarObj

>

> but I can't see how to get the Annotation bar object.

>

> "Software FX Support" <noreply@softwarefx.com> wrote in message

> news:RrAIYJtFFHA.2484@webserver3.softwarefx.com...

>> You need to do it in code:

>>

>> annotation.ToolBar = True

>>

>> --

>> FP

>> Software FX, Inc.

>> "Graeme Neath" <graeme@whatever.com> wrote in message

>> news:dJMjEyQFFHA.768@webserver3.softwarefx.com...

>>>I am using ChartFX 5.1 in VB.NET 2003.

>>>

>>> I am using the property pages to customise the way that my chart appears

>>> on startup. I have been able to do everything that I want with one

>>> exception. I want to be able to not show the annotation toolbar on

>>> startup.

>>>

>>> The Data/Behavior tab on the active-x properties dialog allows me to

>>> toggle on and off all of the other toolbars and menus, but does not let

>>> me toggle off the annotation toolbar. Is there a way to do this either

>>> in the designer, or in code?

>>>

>>> Many thanks

>>> Graeme Neath

>>>

>>

>>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...