Common Desktop Environment: Application Builder User's Guide

Editing Objects in the Interface or in the Browser

Once you have created an interface by dragging and dropping objects on the workspace or on other App Builder objects, you may want to edit the interface in various ways. You can cut, copy, paste, and delete objects, and you can undo the last editing function performed--and you can perform these functions in the interface or in the Module Browser, or between the interface and the Browser. See "Module Browser" for a description of the Browser.

You can copy or cut any object you can select--from a single control to a complex window with multiple panes and many controls--and you can paste that object in any open module.


Note -

Objects selected in the interface are also selected in the Browser, and vice versa. See "To Select Control Objects in the Interface or the Browser " for instructions for selecting objects. When you edit objects in the Module Browser, be sure to check to see what is happening in the interface--especially if you are cutting and pasting.


To Cut or Copy Objects

  1. Select the objects you want to edit in the interface or the Browser.

  2. Choose Cut or Copy from an Edit or pop-up menu.

    Choose Cut or Copy from the Edit menu in the App Builder primary window, from the Edit menu in the Module Browser, or from the pop-up menu in either the primary window or the Browser (displayed by pressing mouse button 3 in the interface or the Browser).

    The chosen function (cut or copy) will be performed. If you choose Cut, the selected objects will be deleted from the interface and placed in the App Builder edit buffer. If you choose Copy, the selected objects will be placed in the edit buffer.

Choose Undo before performing any other function to cancel the cut or copy operation.

To Paste Objects

Once you have placed objects in the edit buffer by cutting or copying, you can paste the objects in the interface with the Paste function.

  1. Select the paste location.

    Window: Windows can be pasted if any App Builder object is selected. Pane: Panes can be pasted if an App Builder window or control pane is selected. Control: Controls can be pasted if an App Builder control pane or control object is selected. If a control object is selected, the controls will be pasted in the parent control pane.

  2. Choose Paste from the Edit menu in the App Builder primary window, from the Edit menu in the Module Browser, or from the pop-up menu in either the primary window or the Browser (displayed by pressing mouse button 3 in the interface or the Browser).

    The objects will be added to the current module and will be displayed appropriately in the interface.


Note -

Pasted objects may obscure other objects; you may have to do some moving and aligning after the paste. See "Aligning and Distributing Objects in an Interface" for instructions.


Choose Undo before performing any other function to cancel the paste operation.

To Delete Objects

  1. Select the objects you want to delete in the interface or the Browser.

  2. Choose Delete from the Edit menu in the App Builder primary window, from the Edit menu in the Module Browser, or from the pop-up menu in either the primary window or the Browser (displayed by pressing mouse button 3 in the interface or the Browser).

    The objects will be deleted from the interface.

Choose Undo before performing any other function to cancel the delete operation.