Custom properties

You can add custom properties to components. Like other properties, these incorporate variables that you can reference in component expressions or procedures. They can contain expressions that are evaluated at runtime or be assigned via parameter sets.

StepsAdding custom properties

  1. Select the component in the Design window.

  2. Right-click in the Property window and select Add.

  3. Enter the name for the property. It should not be a reserved JavaScript keyword. See “Variables”. Inside the component, this property is referenced using the variable REF.<name of property>.

  4. Enter a value in the prompt field. This is the label that appears in the Properties window.

  5. Enter a value in the description field. The description appears in the property tooltip.

  6. Click OK.

StepsRemoving custom properties

  1. In the Property window, select the custom property you want to remove.

  2. Right-click and select Remove. Click OK to confirm.

NoteMake sure to remove all references to the associated variables.