Bind a property to a data item
When a property is bound to a data item, it receives its value dynamically.
A data item can be a tag, an extended property of a tag, or an expression. Data items are also properties of screens, project events, and graphic elements, including instances of Add-On Graphics.
If a property can be bound, a
appears next to the property name when you point to it.
Binding
button 
To bind a property to a data item
- Select the graphic element or instance of the Add-On Graphic.TIP:Select multiple elements to bind a common property of each element simultaneously.
- Expand the categories in thePropertiestab to locate the property to bind to a tag.
- Point to the property box, click theBindingbutton
when it appears, and select
Bind property to item. - ClickSelect tag
. The
opens.Tag Browser
- Create the binding by performing one of the following:
- SelectBrowse
to open the
and then navigate to select the graphic element and property. Selecting a graphic element in theTag Browserlists of properties of the selected graphic element.Tag BrowserTIP:Binding to user-defined alias properties of an Add-On Graphic is not supported. Bind only to user-defined data type properties in an Add-On Graphic. - Type an expression in theEnter bindingbox or to create or edit lengthy or complex expression, selectOpen Expression Editor
.
IMPORTANT:- When binding an enumerated property to a string tag, ensure that the content of the string tag, including case, matches the content and case on the user interface. For example, the rounding property value Nearest is different than the rounding property nearest.
- When binding to a property that consists of a list (for example, FontName, Format, Rounding) use a string tag that exactly matches the text of the item in the list. For example, to bind and use the Saturday Sans font, the string must contain Saturday Sans ICG to be considered an exact match. If the value of the tag does not match a value in the list, the first item in the list is used.
- References to graphic element properties in a binding do not update automatically if a graphic element is renamed.
- Binding to the property of any screen or graphic element outside of the definition of an Add-On Graphic is not supported. Add-On Graphics are self-contained elements. From within the definition of an Add-On Graphic, bind to the properties of that definition, the properties of graphic elements in that definition, and properties passed into the definition through user-defined properties.
- Bind the properties of graphic element or the instance of an Add-On Graphic only to properties of graphic elements and Add-On Graphics that are on the same screen, popup, or System Banner.
- When changing the value of a graphic element or instance of an Add-On Graphic property on ascreenby binding to it, the changed value is not retained when closing and re-opening the screen.
- When changing the value of a graphic element or instance of an Add-On Graphic property on apopupby binding to it, the changed value is retained when closing and re-opening the popup.
- When binding tags to numeric properties, keep the following in mind:
- If a numeric property is bound to a REAL tag, the resulting value is rounded.
- If a numeric property is bound to a STRING tag or property source, the resulting value is truncated.
Provide Feedback