ID:160618
 
I am messing around with the BYOND default interface, and I was wondering how I could use the menus to swap panes about like the image you can view by clicking here.
Look up the winset() proc, and the left/right skin params.

Ex:

mob/verb/Swap_Chat_And_Browser()
var/swap
if(winget(usr,"child1","left")=="browser")
swap = 1
winset(usr,"child1","left=chat")
else
swap = 2
winset(usr,"child2","left=chat")
winset(usr,"child[swap]","left=browser")


It's not a very good example (just got home from soccer conditioning) but it should suffice.
In addition to Jeff's post, you have to put the info control and output/input controls in their own separate panes. In that screenshot it looks like they are all in one window.
In response to Kaiochao
Kaiochao wrote:
In addition to Jeff's post, you have to put the info control and output/input controls in their own separate panes. In that screenshot it looks like they are all in one window.

Yeah, I already knew that part, that screen shot wasn't even my game. I just used that so you guys could see what I meant.