0

Is it possible to disable some functions from the context menu in Visio 2013 for visio control?

I want to remove buttons for painting and changing shapes as I want to use only specific shapes in my visioControl.

enter image description here

JleruOHeP
  • 10,106
  • 3
  • 45
  • 71

1 Answers1

1

Found a solution for replace shape button. I can set PageLockReplace property of the pageSheet to TRUE:

visioControl1.Document.Pages[1].PageSheet.Cells["PageLockReplace"].FormulaU = "TRUE";
JleruOHeP
  • 10,106
  • 3
  • 45
  • 71
  • Thank you, but I was also looking to completely hide that floating control button panel on right-click on the shape and show my context menu – codebug Jun 23 '20 at 04:12