A button Rope work is meant to open the window Ropework and close others.
The event produces a diferernt window to the one in the code.
It goes to the 'Local knowledge' window.but if clicked a second time goes to the right window.
I have tried several optios. Other opening and closing widows all work
i attach aia file if that helps MVSversion72.aia (1.7 MB)
If you look closely at your two button click events, you will see your error...
Perhaps a better way is to create a procedure to hide all your virtual screens, then run this in your button click events before selecting the arrangement to show:
Also, for future reference, you do not need to use the logic block, this works: