Jump to content
Software FX Community

Re: How to remove menu items from pop-ups

Software FX

Recommended Posts

You can do this using the RemoveSubCommand method. For example lets say you 

want to remove the DataEditor menu option from the right-click menu (chart

background). You can do:

ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 1

Other commands for other menus:

CFX_ID_CM_SERIES // Right click on a point marker/bar

CFX_ID_CM_BACKGROUND, // Right click on the chart background

CFX_ID_CM_AXIS, // Right click on an axis

CFX_ID_CM_TITLE, // Right click on a title

CFX_ID_CM_BAR, // Right click on a legend box



Link to comment
Share on other sites


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

  • Create New...