[RobotStudio SDK] Placing a toolwindow

Sergio Puime
Spain ✭✭
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
- 10.3K All Categories
- 5.2K RobotStudio
- 341 UpFeed
- 13 Tutorials
- 6 RobotApps
- 281 PowerPacs
- 404 RobotStudio S4
- 1.7K Developer Tools
- 236 ScreenMaker
- 2.6K Robot Controller
- 238 IRC5
- 34 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 678 RAPID Programming
- 14 Wizard Easy Programming
- 100 Collaborative Robots
- 3 Job listings