User (Legacy) Posted September 5, 2001 Report Share Posted September 5, 2001 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 More sharing options...
Software FX Posted September 6, 2001 Report Share Posted September 6, 2001 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 More sharing options...
User (Legacy) Posted September 6, 2001 Author Report Share Posted September 6, 2001 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.