Software FX Posted October 10, 2000 Report Share Posted October 10, 2000 To remove the data editor form the right-click menu: ChartFX1.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand(1) -- Frank SFX "Edward Evans" <eevans@pacsim.com> wrote in message news:MnHCcnjMAHA.1432@sfxserver.softwarefx.com... > It is clear how to remove a command from the toolbar, ala > m_pChartFX->ToolBarObj->RemoveItems(2,0), but how do I remove a command from > the pop-up menu that appears when I right-click? > > Thanks, > Ed Evans > > Francisco Padron wrote in message ... > >You can not enable/disable predefined buttons as they are enabled/disabled > >automatically given the chart properties. > > > >Use AllowEdit to prevent the chart from being edited, remove the DataEditor > >command from the menus if you want to disable this option. > > > >-- > > > >Frank > >SFX > >"Edward Evans" <eevans@pacsim.com> wrote in message > >news:3WToCxgMAHA.2224@sfxserver.softwarefx.com... > >> Hi, > >> > >> I'm trying to turn off the Data Editor feature in ChartFX, but the > >following > >> line has no effect: > >> m_ChartFX->GetCommands()->GetItem( CFX_ID_DATAEDITOR )->Enabled = 0; > >> > >> What am I missing? > >> > >> Thanks, > >> > >> Ed Evans > >> eevans@pacsim.com > >> > >> > >> > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.