Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

[RobotStudio SDK] Placing a toolwindow

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?
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.

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);