# Edit screens: groups, clipboard, undo, and on a phone or tablet

> Copy, cut, paste and duplicate objects between screens and studio tabs, paste with tag prefixes replaced, group and nest objects, undo or redo any change and jump to any step in the History panel, edit several objects at once, bind a tag by dropping it on an object, test pushbuttons with Alt+click, and edit screens on a phone or a tablet with touch gestures, where a tap never runs a command.

Product: eaxScada · Type: How-to guide · Editions: Starter, Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/how-to/edit-screens/
Verified against commit 699c930.

## Shortcuts

| Keys | Does |
|---|---|
| **Ctrl+C**, **Ctrl+X**, **Ctrl+V** | copy, cut, paste (offset from the original) |
| **Ctrl+Shift+V** | paste in place (same position) |
| **Ctrl+Alt+V** | paste special: replace tag prefixes while pasting |
| **Ctrl+D** | duplicate the selection (the clipboard is not touched) |
| **Ctrl+A** | select every object |
| **Ctrl+G**, **Ctrl+Shift+G** | group, ungroup |
| Double-click a group, or **Enter** | edit inside the group; **Escape** leaves one level |
| **Shift+click**, **Ctrl+click** | add an object to the selection, or remove it; a box drawn with Shift or Ctrl adds |
| **Alt+click** | run the object's action in the designer, with a mouse (a plain click or Ctrl+click only selects; a finger never runs an action, see [below](#commands-are-never-run-by-a-tap); pushbuttons: see [Pushbuttons in the designer](#pushbuttons-in-the-designer)) |
| **Ctrl+Z**, **Ctrl+Y** or **Ctrl+Shift+Z** | undo, redo |
| **Ctrl+N** (**Alt+N** in a browser tab, where the browser keeps Ctrl+N) | **New** in the workspace shown: a screen in Screens, a scene in 3D, an alarm, a recipe or a connection |
| **?** | the designer's keyboard shortcut sheet, where you can change the keys |

The **Edit** menu lists them all; the canvas's right-click menu offers the ones that apply to what you clicked. **Help → Keyboard Shortcuts** lists the studio's keys; with a 2D screen open it shows the designer's sheet, described in [Arrange objects precisely](/docs/eaxscada/how-to/arrange-objects-precisely/#change-the-keyboard-shortcuts).

## Copy and paste between screens

Copy works across screens and across studio tabs: the copied objects go to the page, to the browser's storage and to the system clipboard. A paste gives every object, and every object inside a group, a new id never used on the screen. Everything else is kept exactly: bindings, conditions, actions, animations, the tags a command writes, confirmation and e-signature settings, and group children.

When pasted objects can write to equipment, a message says so. Check their tags before you save.

## Paste special: the same objects for another unit

1. Copy the objects of pump P-201.
2. Press **Ctrl+Alt+V** (or **Edit → Paste special...**).
3. The first rule starts with the copied objects' common tag folder (here `DocsPlant/`), replaced by itself: as it opens, the dialog changes nothing, and **Paste** pastes the objects exactly as copied. Change the folder to `DocsPlant/Pumps/P201/` and type the replacement `DocsPlant/Pumps/P202/`. **Add a rule** adds another folder to replace. The grid previews every value that changes, with the object and the field.
4. Click **Paste**. Nothing is pasted until then; **Escape** or **Cancel** closes it.

:::caution
A rule whose replacement is empty removes the folder from every path (`DocsPlant/Pumps/P201/Start` becomes `Pumps/P201/Start`). The dialog then says how many values lose the folder and keeps **Paste** disabled until you tick **Remove the folder from these values**. Changing a rule asks again. Check the **Pasted value** column first. The dialog says how many of the objects can write to equipment or ask for a signature: their commands change exactly as the preview shows.
:::
[Image: Paste special: the copied START button's tag prefix P201 replaced with P202, with a preview of every change.]
[Image: Paste special: the copied START button's tag prefix P201 replaced with P202, with a preview of every change.]

Paste special previews each replaced value.
A prefix is replaced only at a path boundary: `Plant/Line1/` does not change `Plant/Line10/`. For a faceplate used for many units, consider [screen parameters](/docs/eaxscada/how-to/reusable-screens-with-parameters/) instead: one screen, one parameter set per unit.

## Groups

- **Group** puts the selected objects in a group, in their own layer, without reloading the screen. **Ungroup** puts them back where they are, even if the group was rotated or scaled. Grouped objects keep their colours and the values they show.
- A group draws nothing of its own. Its size in the inspector is its children's bounding box, and it follows a child that you move inside the group.
- Groups can be nested to any depth (a screen deeper than 32 levels is refused when saved).
- A group moves, resizes (its children scale with it) and rotates as one object.
- **Double-click** a group to edit its children: the rest of the screen dims and a breadcrumb shows where you are. **Escape** leaves one level; a click outside leaves the group.
- The Outliner lists children under their group. A command inside a group is protected by the server exactly like one outside.
[Image: Two buttons grouped, and the Edit menu with Undo naming the last step and the clipboard and group commands.]
[Image: Two buttons grouped, and the Edit menu with Undo naming the last step and the clipboard and group commands.]

The Edit menu after grouping two buttons.
## Undo and redo

Each open screen has its own history of 200 steps, started when the screen opens, so the first change is undoable too.

- One step per gesture (a drag of several objects), per continuous edit (typing, a slider, arrow nudges within a second), and per dialog (a colour dialog you cancel leaves no step). A click that moved nothing is no step.
- The toolbar and **Edit → Undo** name the step, for example "Undo move of TIC-011".
- Undo and redo redraw the canvas, the inspector and the Outliner, keep the selection and mark the screen unsaved, so the normal save stores the result. Saving does not clear the history.
- The keys work from the canvas, the Outliner and the studio's chrome; never while you type in a field or the code editor, in another workspace, or under a dialog.
- To see the steps and jump to any of them, use the [History panel](#history-panel).

## History panel

The **History** panel lists the steps of the open screen, newest on top, down to **Screen as opened** at the bottom. It sits under **Properties** in the right side panel; click its header to fold or unfold it (the browser remembers). **Edit → History panel** opens it too, and with the right panel folded its dock has a **History** button.

- The step the canvas shows is marked **current**. Steps after it (undone) are dimmed and marked "undone, can be redone".
- **Click a step** to show the screen as it was after that step, in one jump however far back. The steps after it stay: click a later step, or press redo, to go forward again. Making a new change from there drops the dimmed steps, as with undo.
- **Clear history** (the bin in the panel's header) asks first ("Forget the 8 steps of this screen?"). The screen, its draft and its unsaved mark stay as they are; you just cannot undo or redo to those steps any more.
- **Undock** (the arrow in the header) floats the panel over the canvas; drag it by its header. **Dock in the side panel** puts it back.
- **Keyboard:** the list is one tab stop. **Up**, **Down**, **Home** and **End** move through the steps, **Enter** or **Space** jumps to the step.
[Image: The History panel under the screen properties: 8 steps from Screen as opened up to Delete 1 items: TEXT, with "Update action: R16" marked current and the two later steps dimmed.]
[Image: The History panel under the screen properties: 8 steps from Screen as opened up to Delete 1 items: TEXT, with "Update action: R16" marked current and the two later steps dimmed.]

The History panel: two steps undone, still redoable.
Undo, redo and a jump redraw only the objects that differ, so they stay fast on a screen with a thousand objects. Each changed object is drawn again from the saved step, never patched field by field, so its bindings, actions and write tags are exactly the step's. A step that changes the screen's own settings (size, background, parameters, the layers' names, visibility, lock or order), any step on an isometric screen, and any case where the result does not match the step redraw the whole screen instead.

## Several objects at once

With several objects selected, the inspector shows "N objects selected", alignment, group, z-order, delete and the properties they share. A property set there is set on all of them, as **one undo step**. With nothing selected it shows the screen's name, id, size, background, layers and objects, and **Screen settings...**.

The shared properties are:

- **Position and state:** X, Y, width, height, rotation, opacity, visible, locked. Width and height are not offered when the selection holds a group or a connector, and rotation not when it holds a connector.
- **Style:** fill, stroke, stroke width and font size, when every selected object has it.
- **The type's own properties** (for example a tank's level colour), only when every selected object is of the same type.

A property whose values differ shows **mixed** in grey, as a placeholder and never as a value. Leaving a mixed field empty changes nothing; typing a value sets it on every object.

Command settings are edited one object at a time and are never offered for several objects: the tag a button or input writes, setpoint and command tags, limits, confirmations, e-signatures, interlocks, actions and on/off values. Select the objects one by one to change those.
[Image: Twelve rectangles selected; the inspector shows "12 objects selected", Position and state with X, Y and Rotation marked mixed, Width and Height 60, and the Style section with Fill marked mixed. Below: "A change applies to all 12 objects, as one undo step."]
[Image: Twelve rectangles selected; the inspector shows "12 objects selected", Position and state with X, Y and Rotation marked mixed, Width and Height 60, and the Style section with Fill marked mixed. Below: "A change applies to all 12 objects, as one undo step."]

Editing twelve objects at once: values that differ show "mixed".
To line the objects up, size them alike or space them, see [Arrange objects precisely](/docs/eaxscada/how-to/arrange-objects-precisely/).

## Bind a tag by drag and drop

Drag a tag from the tag tree onto an object already on the screen to bind it:

1. Drop the tag on the object. A small chooser opens at the drop point, titled **Bind to** and the object's name, with the tag path below.
2. It lists what the tag can drive on that object, the usual choice selected, for example:
   - on a rectangle or another shape: **Fill colour by state (0 stopped, 1 running, 2 fault)**, **Visible while the tag is not 0**, **Blink while the tag is not 0 (hidden at 0)**;
   - on a text: **Value (text)**; on a button: **Caption text**; on a tank, a pump or another equipment object: **Value readout** and the object's own displayed values;
   - on a gauge: **Gauge value (PV)**; on a faceplate: **Process value (PV)**.

   A choice the object is already bound to is marked **replaces**.
3. Press **Enter** or click **Bind**. **Escape** or **Cancel** closes the chooser and changes nothing. **Place as text** drops a new value text at that point instead, as a drop on the empty canvas does.

The binding is one undo step, and a message confirms it ("Bound Plant/Line1/P101/Running: Fill colour by state ...").

A drop places a value text instead of opening the chooser when it lands on the empty canvas, or on an object that is locked, hidden, or has nothing to bind (a plain line or pipe, for example). Inside a group, the drop binds the object under the pointer.

:::note[A drop only adds a display]
"Display only: a drop never changes a command, a write tag or a confirmation." A drop sets what the object shows: a value, a colour or visibility condition, or a gauge's or faceplate's displayed value. It never sets or changes an action, a write target, a setpoint or command tag, an input object's tag, a limit, a button's interlock, a confirmation or an e-signature. Buttons, operator inputs and faceplates offer display targets only. Every drop is checked before it is applied: if anything other than the chosen display would change, including the tag a click on the object writes, the drop is refused ("Not bound: ...") and nothing changes.
:::
[Image: The tank farm screen with the drop chooser open over a rectangle: "Bind to Rectangle — RECT" with the tag path Line2/TK201/Level, the options Fill colour by state (selected), Visible while the tag is not 0 and Blink while the tag is not 0, and the buttons Place as text, Cancel and Bind.]
[Image: The tank farm screen with the drop chooser open over a rectangle: "Bind to Rectangle — RECT" with the tag path Line2/TK201/Level, the options Fill colour by state (selected), Visible while the tag is not 0 and Blink while the tag is not 0, and the buttons Place as text, Cancel and Bind.]

Dropping a tag on a rectangle offers its display targets.
## On a phone or a tablet

The **Screens** designer (2D screens and isometric maps) lays itself out for the width of the window:

| Width | Layout |
|---|---|
| 1200 px and more | The docked side panels, as you left them. |
| 640 to 1199 px (tablets) | Both side panels fold into their docks. A panel opens over the canvas, one at a time, from its dock; selecting an object opens **Properties** (until you close it for the session). |
| Under 640 px (phones) | No side panels and no rulers. A bar under the canvas opens one panel at a time as a sheet from the bottom: **Displays**, **Palette**, **Assets**, **Layers**, **Properties**. **Fit** shows the whole screen. |

Changing the width never changes the side panel layout you saved for a wide window.
[Image: The Studio at 390 px: the notice "Edit screens on this phone" with Edit screens and Open the operator runtime; the designer with the tank selected, big handles and a dot on the Properties button; and the Properties sheet open from the bottom.]
[Image: The Studio at 390 px: the notice "Edit screens on this phone" with Edit screens and Open the operator runtime; the designer with the tank selected, big handles and a dot on the Properties button; and the Properties sheet open from the bottom.]

Editing a screen at phone width: the notice, a selection, and the Properties sheet.
### On a phone

1. Open the Studio. Below 900 px the other workspaces cannot be laid out, so the Studio says **Edit screens on this phone**. Tap **Edit screens** (or **Open the operator runtime** to operate the plant instead).
2. Tap **Displays** in the bar under the canvas and pick a screen. The sheet closes and the screen is fitted to the canvas.
3. Tap an object to select it. On a phone, a selection does not open **Properties**: the **Properties** button gets a dot instead. Tap it (or double-tap the object) to open the sheet. The canvas pans so that the selection stays visible above the sheet.
4. To add an object, open **Palette** and tap an item: the sheet closes, then tap the canvas where it goes.
5. **Undo**, **Redo** and **Save** stay in the toolbar at every width; the other tools move into **More**.
[Image: Two bottom sheets at 390 px: the Palette with its search box and objects, and the Properties of the selected tank.]
[Image: Two bottom sheets at 390 px: the Palette with its search box and objects, and the Properties of the selected tank.]

One panel at a time, as a sheet from the bottom.
A panel sheet or a slide-over closes with its close button or **Escape**. In **Display Settings**, the tabs scroll inside the dialog and the two "default" buttons of its footer move into **More**; **Cancel** and **Apply & Save** stay.

### Touch gestures

| Gesture | Does |
|---|---|
| One finger on an object | tap: select; drag: move; double tap: **Properties** |
| One finger on the empty canvas | drag: pan the view; tap: clear the selection |
| Two fingers anywhere | pinch to zoom and pan together. A drag or a resize that was running stops first, so a second finger never moves an object. |

Once the screen has been touched, the selection handles are drawn larger and can be hit over 34 px (a 14 px handle with a wider finger area); on a small object the edge handles step aside. With a mouse the handles stay as they were. The connector handles (a selected object's **+**, a selected pipe's ends and segments) also take 34 px under a finger, and a finger on one draws instead of panning (see [Connect objects with pipes and lines](/docs/eaxscada/how-to/connect-objects-with-pipes-and-lines/#on-a-phone-or-a-tablet)). A box selection needs a mouse; with a finger, select objects one by one or use the **Layers** panel.

### Commands are never run by a tap

In the designer a finger never runs an object's command: a tap only selects, even with **Animate** (the live animation preview) on, and even for the mouse events a browser makes up after a tap. Try commands in **Live preview** or the operator runtime, where the touch protection and the object's confirmation or e-signature apply ([Set up touch panels and kiosks](/docs/eaxscada/how-to/set-up-touch-panels/#touch-protection)).

With a mouse, a click on an object with **Animate** on, **Alt**+click, and **Test Action Now** on the Action tab do run its command, through the same confirmation and server checks as in the runtime.

## Pushbuttons in the designer

- **Select, move, resize:** a plain click on a pushbutton selects it, and a drag or a resize moves or sizes it. The button keeps its resting look: it is never drawn pressed (no RUNNING caption) while you edit it, and it writes nothing.
- **Test it:** **Alt**+click presses the button for real. It shows its pressed look and writes its tag exactly as before, with the button's confirmation, e-signature and the server's checks. With **Animate** on, a click does the same.
- **Hold-to-run (momentary) buttons:** a press held with **Alt** is released as soon as a drag or a resize of the button starts, the browser window loses focus, or the page is hidden (another tab, a minimised window). The release value is written once, as if you had let go of the button, and the button returns to its resting look. Only the release of a press the button sent is written; nothing is written when no press is held, and a later mouse release writes nothing more.

The operator runtime releases a held momentary button the same way when the window loses focus or the page is hidden.

## Related

- [Build your first 2D screen](/docs/eaxscada/tutorials/build-your-first-2d-screen/)
- [Connect objects with pipes and lines](/docs/eaxscada/how-to/connect-objects-with-pipes-and-lines/)
- [Choose an editor: 2D, 3D or isometric](/docs/eaxscada/explanation/choose-an-editor/)
- [Find and replace across screens](/docs/eaxscada/how-to/find-and-replace/)
- [Screen designer](/docs/eaxscada/explanation/screen-designer/)
