Trying to create a large number of private windows for each player without adding to the toolbar (30 separate windows for each of the two sides). I’d also like them selectable as individuals and the windows need to contain pieces that are dragged onto them and retained there until deleted or moved, no matter if the window is closed and reopened.
Nearest I can imagine for this is to use the Chart Window component. To that you can add one or more Map Window components in the manner that you suggest.
I don’t see a way to add a Private Window there. However, I think that with some re-direction you could have a single Action Button that would show/hide that PlayerSide’s Chart Window by using an Action button conditional technique (see below). The Chart Windows themselves would have neither button text nor image and would use Named Command hotkeys unique to each PlayerSide, so preventing access by other players.
Conditional Action Button
In this method, you use the loop feature of the Action Button to control how the user’s action takes effect. The method comprises two parts: a master button that the players use and two or more subsidiary buttons, each controlled by a condition, typically set in the “loop how many times” field.
Example: Implementing a PlayerSide Control
For your application, the master button generates a single Named Command hotkey that in turn calls two further Action Buttons (one for each side). Here’s an example of this button, whereby the user would press a button called “My Windows” or function key F2:
Like the Chart Window above, the subsidiary Action Buttons have no button text or image and it is these buttons that generate the Named Command hotkey to display a PlayerSide’s Chart Window. There is one button for each PlayerSide. Here is an example for “Player 1” side called by the master button shown above; it will display a Chart Window activated by Hotkey “displayWindow1”:
Hope this helps.
Thanks! These windows don’t have to be “private,” I just need them to be able to be controlled by one side or the other. In fact, it’s imperative that the windows be seen by all. I do, however, need to control who can move stuff into, on, and out of that window. I guess I can do that through the side control of the pieces?
This is a start!
That’s the only way I can think of off-hand. If you can simply Restrict Access to the pieces (other side not allowed to move them at all) that will be straightforward. Otherwise, it’s possible but painful as it involves reversing the move or perhaps replacing pieces with restricted variants as they are moved into the window and vice-versa.
That is what I’m doing. Instead of individual windows, I’m making pieces that reside on their own layer with retricted access and a specific button press to select and move. This way, once they are on the map, individual pieces on thwir own layer can lay on the pieces and can be selected easily without affecting the piece they lay on.