[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.4K RobotStudio
- 375 UpFeed
- 15 Tutorials
- 12 RobotApps
- 286 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 266 IRC5
- 40 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 722 RAPID Programming
- 15 Wizard Easy Programming
- 107 Collaborative Robots
- 3 Job listings