If you want to create a popup window to control many items (one at a time) linkable tags would be very useful.
A linkable tag (named A, for example) has the ability to be linked to another tag (named B, for example), so A and B have always the same value.
If you assign a new value to A the same value is assigned to B; the same if you assign a value di B: that value is written to A also.
To build a popup window to control many items two linkable tags would be used:
- a tag (Status) that will be linked to the tag that provide the status of the item to control;
- a tag (Command) that will be linked to the tag that send commands to the item to control.
Before to show the popup window to control the item 21 (for example) a piece of code have to link the tag; for example:
Status.linkTo( Item21_Status ); Command.linkTo( Item21_Command ); ItemControlPopup.show();
A linkable tag can be linked to a single tag at a time.
Linkable tags are normally defined in the User domain (for a purpose like in the example above).