User (Legacy) Posted December 7, 2004 Report Share Posted December 7, 2004 is there any way to customize context menu (add/remove/edit commands on the context menu)? i know you can't do it to toolbars and menubars, but can't find documentation on context menus. thanks. - harry Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted December 8, 2004 Report Share Posted December 8, 2004 Yes. Context menus are simply composite commands. The Id' for these commands are all named like this: CommandID.ContextMenu* Once you obtain the command, for example: Command command = chart1.Commands[(int) CommandID.ContextMenuBack]; Then you can proceed to modify its "sub-commands" using the following methods: command.RemoveSubCommand command.InsertSubCommands The following KB Article has information about this: Q7001034. How to add an item to the ChartFX Menubar -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.