Jump to content
Software FX Community

Right Menu


User (Legacy)
 Share

Recommended Posts

The MenuBarObj is not the Right-Click menu, the right click menu varies

depending where you click (axis, bars, background, etc.) and each of this is

a different command inside the Commands collection.

For example, to remove the first 2 items from the Right-Click menu that

shows when you right click on the chart background, you will do:

ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 0

ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 0

The Right-Click menu commands are:

CFX_ID_CM_SERIES

CFX_ID_CM_BACKGROUND

CFX_ID_CM_AXIS

CFX_ID_CM_TITLE

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Many Thanks :-)

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:meoeSkSTCHA.2604@webserver1.softwarefx.com...

> The MenuBarObj is not the Right-Click menu, the right click menu varies

> depending where you click (axis, bars, background, etc.) and each of this

is

> a different command inside the Commands collection.

>

> For example, to remove the first 2 items from the Right-Click menu that

> shows when you right click on the chart background, you will do:

>

> ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 0

> ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 0

>

> The Right-Click menu commands are:

>

> CFX_ID_CM_SERIES

> CFX_ID_CM_BACKGROUND

> CFX_ID_CM_AXIS

> CFX_ID_CM_TITLE

>

> --

> FP

> Software FX, Inc.

>

>

post-2107-13922394576184_thumb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...