Jump to content
Software FX Community

Right Menu


User (Legacy)

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

Archived

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

×
×
  • Create New...