[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Modifying a Layout

To modify an existing layout, you use the Layout editor in conjunction with the Component Palette, Component Catalog window, and Object Inspector. You select components from the Component Catalog window or the Component Palette and then place those components in the layout window. You manipulate the components in the layout as you would manipulate graphic objects in a drawing application.

Creating a new layout:

A layout is modified in the following ways:


Creating objects

The RAD tools access available project components from the current catalog. The Component Palette and Component Catalog window give you two convenient ways to access the components.

If you use the Component Catalog window, you drag components to the layout window to create new interface objects. If you use the Component Palette, you click the button representing the component you want to add, and then you drag a cursor in the layout window to place that component in the layout.

For more information about the Component Palette, see "Component Palette". To learn more about the Component Catalog window, see "Component Catalog window".


Manipulating objects

To move an object in a layout, select it in the layout window. A selected object is shown in Figure 13.2. The heavy border around the object indicates that it is currently selected. Drag selected objects to move them to a new positions in the layout window. Alternatively, use the arrow keys on your keyboard to move the selected objects. To resize or reshape an object, drag one of its resize handles in the desired direction. A heavy outline is displayed as you drag the resize handle. This outline represents the final shape of the object when you release the resize handle.

You can select multiple objects in two different ways:

You can also manipulate objects with the Layout editor contextual menu. To learn more, refer to "Layout editor contextual menu".


TIP

The Tab key on your keyboard is useful for layouts with several objects. After you select a particular object in the layout window, press the Tab key to quickly select a different object. The order in which the Tab key selects objects is based on the order in which those objects were placed in the layout window.

Examining objects

After you place objects in the layout, you can edit the various properties that characterize each object, as well as the events handled by that object. The Object Inspector displays the available properties and events for a selected object. For more information, see "Object Inspector".


Removing objects

To remove objects in a layout, select them and press Delete. Alternatively, select the objects and choose Edit > Delete (Windows menu bar layout) or Edit > Clear (Macintosh menu bar layout). The Layout editor removes the selected objects from the layout.

Marquee selection of two objects:

Layout editor contextual menu

The Layout editor features a contextual menu that conveniently duplicates the commands in the Layout menu. The available commands in the contextual menu depend on the selected item. A sample contextual menu is shown in Figure 13.4.

Layout editor contextual menu:

To display the Layout editor contextual menu, use one of the following techniques:


Windows

Right-click an item.


Mac OS

Control-click an item.

The following list describes some common graphical editing commands in the contextual menu:


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000