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

AVEVA™ Unified Engineering

Setting the Default Format Object for Text Fields

  • Last UpdatedNov 14, 2022
  • 1 minute read

The SetDefaultFormat method is used to provide a default Global format object to be used to format typed text fields when no specific format is defined at design time. The SetDefaultFormat method can only be called once to avoid inconsistency across appware.

Call the method as follows:

.SetDefaultFormat(!!fmt is FORMAT)

where !!fmt must be a Global variable.

After calling the method the value can later be retrieved by referencing the DefaultFormat() method as follows:

!text=!myVar.String(!!fmsys.DefaultFormat())

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