[RobotStudio SDK] Placing a toolwindow
Sergio Puime
✭✭
Hi.
I'm creating a RS addin and want to place a toolwindow over the ObjectBrowser, but I don't know how. I'm able to place it in the ObjectBrowser, but I don't know the name to place it over (like the Create Box one). I was looking at the api reference, but "UIEnvironment.Windows" doesn't list the "places" options available.
¿Where can I found the "places" options available?
Placed in the ObjectBrowser.
Where I want it (I moved it manually).
BR.
I'm creating a RS addin and want to place a toolwindow over the ObjectBrowser, but I don't know how. I'm able to place it in the ObjectBrowser, but I don't know the name to place it over (like the Create Box one). I was looking at the api reference, but "UIEnvironment.Windows" doesn't list the "places" options available.
¿Where can I found the "places" options available?
ToolWindow tw = new ToolWindow("MyToolWindow"); tw.Caption = "Floating ToolWindow."; UIEnvironment.Windows.AddTabbed(tw, UIEnvironment.Windows["ObjectBrowser"] as ToolWindow);<br>
Placed in the ObjectBrowser.
Where I want it (I moved it manually).
BR.
Tagged:
0
Answers
-
I manege to solve the problem with the "AddDocked Method"
AddDocked(ToolWindow, DockStyle, ToolWindow)
UIEnvironment.Windows.AddDocked(tw, System.Windows.Forms.DockStyle.Top, UIEnvironment.Windows["ObjectBrowser"] as ToolWindow);
0
Categories
- All Categories
- 5.5K RobotStudio
- 390 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 304 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 772 RAPID Programming
- 17 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings