Jump to content
Software FX Community

Re: Removing Chart Types From Gallery


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...