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

AVEVA™ Engineering

Getting Background and Highlight Colors

  • Last UpdatedNov 02, 2022
  • 1 minute read

You can get the background and highlight color indices from the member variables or you can use the Highlight() and Background() methods that return the value of the respective property as a name string.

For instance, using the example above:

!colourname = !view.Background()

Would give you the string "black", and:

!colourindex = !view.background

Would give us the integer color index value 2.

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