
add to right click menu

scottMHA
✭
Is it possible to add buttons to the right click menu below?


Tagged:
0
Comments
-
Did you found a solution scottMHA?
0 -
SierraWhiskeyHotel said:Did you found a solution scottMHA?0
-
Use
CommandBarContextPopup ctxPopup = UIEnvironment.GetContextMenu(typeof(Part));
to access the menu.
Post edited by Johannes Weiman onJohannes Weiman
Software Engineer
RobotStudio Team, ABB Robotics2 -
Johannes Weiman said:Use
CommandBarContextPopup ctxPopup = UIEnvironment.GetContextMenu(typeof(Part));
to access the menu.Thank you for the answer. Now that I found some time to try this I failedVS doesn't know Part in context of the typeof expression. Do you have a short simple example how I can add buttons with my custom code to different menues?My goal is to add a button to the menues of paths, robtargets and workobjects. If you could show me an example of one of them I would really thank you for that.0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings