Show: Delphi C++
Display Preferences

Using the Layers in the LiveBindings Designer

From RAD Studio XE3
Jump to: navigation, search

Go Up to LiveBindings Designer


The LiveBindings Designer allows you to organize your bindings diagram (if it is too bulky) through a system of layers.

To organize your bindings diagram through a system of layers

  1. Access the Layers menu in the upper-right corner of the Designer.

LBLayersProcedure1.png

By default, there is only one main layer that cannot be removed or renamed. It is called Default Layer. You can make it visible or not by clicking the eye icon (LBLayersEye.png) next to it.
2. To add a new layer, use the plus button and the new layer will be added to the Layers menu with a generic name, NewLayerX, where X is a number.
3. To change an added layer's name, double-click it and type a new name in the check box. Validate your new name using the ENTER key.

LBLayersProcedure2.png

Elements that are not part of a layer will be shown with a slight fade effect, as if they were in the background.
Elements that are part of different layers and are connected will be highlighted when on layers that do not contain them.

LBLayersProcedure3.png

If you have multiple layers visible, the layers names next to the Form name in the LiveBindings Designer window toolbar will update accordingly. This allows you to see which layers are visible even if the layers menu is collapsed.
4. To add certain components to a layer, you need to select the layer in the layers menu. Then you can select a single or select components from the Form Designer, using the Shift key while clicking them, or by drawing a selection box over the components in the LiveBindings Designer.
5. After you have selected one or multiple components, right-click to add to an existing layer or to a new layer.

LBLayersProcedure4.png

You may want that one component be part of two different layers. As an advanced feature, you can do that in two ways.

To make one component be part of two layers

  • Visually:
  1. Select the layer in the layers menu.
  2. Select the component in the LiveBindings Designer and right-click it.
  • Typing in the names of the layers:
  1. Select the component (for instance: Button1).
  2. In the Object Inspector, expand the LiveBindings Designer property, and type in the additional names of the layers (that you set up in the layers menu) that you want to add the component to (Node-Layers).

    LBLayersProcedure5.png
Tip: Use the LiveBindings Designer layers whenever you have diagrams with multiple elements that you want to quickly organize in order to clean up your diagram for better observation.

See Also

Personal tools
Previous Versions