This topic provides basic information about selecting, copying, pasting, and deleting components in the layout area.
You can select components in the layout area in the following ways:
Click a single component to select it.
Press Ctrl+A to select all child objects of the figure. This does not select components that are child objects of panels or button groups.
Click and drag the cursor to create a rectangle that encloses the components you want to select. If the rectangle encloses a panel or button group, only the panel or button group is selected, not its children. If the rectangle encloses part of a panel or button group, only the components within the rectangle that are child objects of the panel or button group are selected.
Select multiple components using the Shift and Ctrl keys.
In some cases, a component may lie outside its parent's boundary. Such a component is not visible in the Layout Editor but can be selected by dragging a rectangle that encloses it or by selecting it in the Object Browser. Such a component is visible in the active UI.
See View the GUIDE Object Hierarchy for information about the Object Browser.
Note You can select multiple components only if they have the same parent. To determine the child objects of a figure, panel, or button group, use the Object Browser.
Use standard menu and pop-up menu commands, toolbar icons, keyboard keys, and shortcut keys to copy, cut, and clear components.
Copying places a copy of the selected components on the clipboard. A copy of a panel or button group includes its children.
Cutting places a copy of the selected components on the clipboard and deletes them from the layout area. If you cut a panel or button group, you also cut its children.
Clearing deletes the selected components from the layout area. It does not place a copy of the components on the clipboard. If you clear a panel or button group, you also clear its children.
Use standard menu and pop-up menu commands, toolbar icons, and shortcut keys to paste components. GUIDE pastes the contents of the clipboard to the location of the last mouse click. It positions the upper-left corner of the contents at the mouse click.
Consecutive pastes place each copy to the lower right of the last one.
Select one or more components that you want to duplicate, then do one of the following:
Copy and paste the selected components as described above.
Select Edit > Duplicate. Duplicate places the copy to the lower right of the original.
Right-click and drag the component to the desired location. The position of the cursor when you drop the components determines the parent of all the selected components. Look for the highlight as described in Add a Component to a Panel or Button Group.
You can group components inside of panels and button groups. Doing so can enhance the appearance of your UI and make it easier to navigate.
Use the Object Browser to control the front-to-back order, or stacking order, of panels, button groups, and the components they contain:
Select View > Object Browser.
In the layout, select the component you want to appear on top and move it slightly over the component you want to appear behind it. Moving a component slightly over another one makes the top component become a child of the one behind it. Notice that the listing of components in the Object Browser changes when you do this. The component you move to the top in the layout becomes indented and is listed below the component that is behind it. This reflects the new parent and child order.
For example, selecting and moving this button slightly over the panel ensures that it appears on top of the panel in the UI.
Note Changing front-to-back positioning of components might change their tabbing behavior. See Customize Tabbing Behavior in a GUIDE UI for more information.