Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
626
if i uncomment the below line in the attached code it is crashing
posted

if I uncomment the below line (line 256) in the attached it is crashing and not displaying the menu, any idea how to fix this.

'Dim pasteTool As ToolBase = clipboardGroup.Tools.AddTool("Paste")

'pasteTool.InstanceProps.PreferredSizeOnRibbon = RibbonToolSize.Large

Parents
No Data
Reply
  • 9298
    posted

    Peter,

    It looks like the reason for the crash is that there is no tool in the Tools collection with the key of "Paste".  Can you confirm that you have added a tool with the key of "Paste"?

Children