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

AVEVA™ Manufacturing Execution System 2023 R2

SetButtonColor() method

  • Last UpdatedNov 26, 2024
  • 1 minute read

Use the SetButtonColor() method to set the background and foreground colors of all buttons associated with the specified control.

Syntax

SetButtonColor(controlID[, buttonID], backColor, foreColor);

Parameters

controlID

A string that indicates the ID of the control associated with the Button Bar control.

buttonID

An integer that indicates the ID of the button. If this parameter is omitted, all the buttons for this control are affected. For more information, see Buttons.

backColor

The color to use for the button’s background.

foreColor

The color to use for the button’s foreground.

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