Jump to content
Software FX Community

PopUp Menu


User (Legacy)
 Share

Recommended Posts

Much of this is covered in the Chart Fx API Help File. You should check

there for further information. This is the general way to accomplish that

task:

Private Sub Form_Load()

With ChartFX1

.Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 6

.Commands(CFX_ID_CM_AXIS).RemoveSubCommand 0

.Commands(CFX_ID_CM_TITLE).RemoveSubCommand 0

End With

(note: if you are going to remove 'Edit Title' you will probably also want

to remove the 'Properties' Menu - otherwise the user can change the title

through the properties.

You can also remove the menu altogether with the following code:

ChartFX1.ContextMenus=FALSE)

GF

Software FX, Inc.

"JH Chia" <jhchia98@hotmail.com> wrote in message

news:X8JZeSoNBHA.1812@webserver1.softwarefx.com...

> 1) How do I take out one of the ChartFX PopUp Menu (e.g. Edit Title Menu)

?

>

> Regards,

> JH Chia

>

>

>

Link to comment
Share on other sites

Thanks a lot for your prompt reply.

"Gilad Field" <giladf@softwarefx.com> wrote in message

news:IHLCopuNBHA.1812@webserver1.softwarefx.com...

> Much of this is covered in the Chart Fx API Help File. You should check

> there for further information. This is the general way to accomplish that

> task:

> Private Sub Form_Load()

> With ChartFX1

> .Commands(CFX_ID_CM_BACKGROUND).RemoveSubCommand 6

> .Commands(CFX_ID_CM_AXIS).RemoveSubCommand 0

> .Commands(CFX_ID_CM_TITLE).RemoveSubCommand 0

>

> End With

> (note: if you are going to remove 'Edit Title' you will probably also

want

> to remove the 'Properties' Menu - otherwise the user can change the title

> through the properties.

>

> You can also remove the menu altogether with the following code:

> ChartFX1.ContextMenus=FALSE)

>

>

>

> GF

> Software FX, Inc.

>

> "JH Chia" <jhchia98@hotmail.com> wrote in message

> news:X8JZeSoNBHA.1812@webserver1.softwarefx.com...

> > 1) How do I take out one of the ChartFX PopUp Menu (e.g. Edit Title

Menu)

> ?

> >

> > Regards,

> > JH Chia

> >

> >

> >

>

>

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...