Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

Configure value display animation with the FormatStyle property

Configure value display animation with the FormatStyle property

  • Last UpdatedJun 27, 2024
  • 2 minute read

When Value Display or User Input animation have a text format configured with a number style from your HMI/SCADA software, numeric data shown during run time is formatted in accordance to the number style selected for the animation.

Changes to a number style are not propagated during run time. Any changes to global number styles become effective only after the HMI/SCADA software is restarted.

A number style can be changed during run time using the FormatStyle property. FormatStyle is a text element run-time property that displays the name of the current applied global number style. The value of the FormatStyle property can be set as the active number style of Value Display and User Input animation during run time .

  • If the name applied to the FormatStyle property during run time is the name of a global number style, the text element is reformatted using the new applied number style for Value Display or User Input animation.

  • If the FormatStyle property is assigned a value that does not match any global number style, the value of FormatStyle remains unchanged and a warning message is logged to SMC logger.

  • If FormatStyle is set to an empty string, the text format of User Input and Value Display animation reverts to the value specified for Text Format during design time.

  • If a text element is inside a group in which the TreatAsIcon property is set to True, then the group's text format overrides the first text child element for Value Display or User Input animation.

  • If a text element’s FormatStyle property changes in run time, the new number style is used to format the text element. Because a graphic group does not have TextFormat and FormatStyle properties, using the FormatStyle property is the only way to change the format of text in run time.

TitleResults for “How to create a CRG?”Also Available in