Ganttview - Accessing Toolstrip menu items in code

Posted by: jeff.davies on 7 September 2021, 3:41 pm EST

  • Posted 7 September 2021, 3:41 pm EST

    Hi guys.

    I want to use my own “Save” routine and didn’t want to have to build a complete new toolbar.

    I have tried to add my own handler to tsbSaveAsXml but it appears that the controls are not made public.

    Is that correct, or have I just not been able to find the correct syntax to access it?

    What are other options to add my own buttons to the toolstrip?

    Thanks in advance.

    Jeff

  • Posted 8 September 2021, 6:54 pm EST

    Hi Jeff,

    If you want to use your own custom routine, you can remove the default tool strip item for “Save” and then insert a new ToolStripButton with a similar look and your own Click event handler. Please refer to the sample attached.

    Regards

    Avnish

    GV_CustomizeTS.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels