Jump to content
Software FX Community

Context Menu Add/Remove


User (Legacy)

Recommended Posts

I have a chart to which I allow the user to switch between three 

galleries...line...bar...pie.

I want to add several context menu items that only apply to the line and bar

chart modes but not the pie chart mode.

Is there any way I can "hide" the context menus for the pie chart without

having to constantly add and remove them?

I know I can set "enable = false" but this still allows them to be seen.

Since the text portion changes based on data ...

and there is no equivalent relavent data in the pie chart view...the context

menu looks less than professional.

I would really just be able to set "visible=false". Can it be done?

Link to comment
Share on other sites

Our context menu does not support hiding/showing items so you will have to 

add only the commands you want to appear.

You could do this only when the gallery is changed if you are worried about

performance, but unless you are adding hundreds of menu items I do not think

you will notice any difference.

JC

Software FX Support

"JMWilton" <JMWilton@comcast.net> wrote in message

news:k0KwljiZFHA.4092@webserver3.softwarefx.com...

>I have a chart to which I allow the user to switch between three

>galleries...line...bar...pie.

> I want to add several context menu items that only apply to the line and

> bar chart modes but not the pie chart mode.

> Is there any way I can "hide" the context menus for the pie chart without

> having to constantly add and remove them?

> I know I can set "enable = false" but this still allows them to be seen.

> Since the text portion changes based on data ...

> and there is no equivalent relavent data in the pie chart view...the

> context menu looks less than professional.

> I would really just be able to set "visible=false". Can it be done?

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...