Jump to content
Software FX Community

Re: Removing Chart Types From Gallery


User (Legacy)

Recommended Posts

Is there a way to remove the gallery command from the "Series" tab in the

properties dialog? If not, one possible workaround I discovered is this:

Chances are you're going to be using at least _one_ type of chart in the

gallery, removing every other chart type will keep the user from selecting

an incorrect one, since the only option is the correct choice.

Francisco Padron wrote in message ...

<snip>

>You can remove the Gallery command from the Menus and Toolbar as follows:

>

>To remove it form the right-click menu for instance:

>

>gal = m_pChartFX->GetCommands()->GetItem( CFX_ID_CM_BACKGROUND);

>gal->RemoveSubCommand( 4 ); // Fourth Item in the menu

>

>To remove it from the ToolBar:

>

>m_pChartFX->ToolBarObj->RemoveItems(1,4); // Fourth Item in the toolbar

>(coincidence!)

>

>--

>

>Frank

>SFX

<snip>

chart_test.bmp

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...