Table of Contents Previous Section Binding Elements Using the Inspector

Binding Elements Using the Inspector

  1. Select the element.

  2. Select a variable or method in the object browser.

  3. In the bindings inspector, select the attribute you want to bind to. (Click the inspector button to display the inspector window.)

  4. Click the Current Variable button.

OR:

  1. Select the element.

  2. In the bindings inspector, select the attribute you want to bind to.

  3. Type a value in the inspector's text field. Note: If the value is a string constant, you must put it in quotation marks.

  4. Press Connect.

Usually, you don't need to use the inspector window to bind elements. Instead you can just select the element and double-click a variable. See "Binding Elements" for more information on how this works and for a list of cases where you might need to bind using the inspector.

Sometimes, it's difficult to select the element you want to bind. For example, if you have a WORepetition that surrounds a table row, the WORepetition doesn't appear in the component window, and you can't select it. In this case, you can select the table row and then use the inspector's icon path to navigate to the WORepetition's bindings inspector. See "Selecting Elements" for more information.

Table of Contents Next Section