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

EnableButton() method

  • Last UpdatedNov 26, 2024
  • 1 minute read

Use the EnableButton() method to enable or disable the named button associated with the specified control.

Syntax

result = ButtonEnabled(controlID, buttonID, enabled);

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. For more information, see Buttons.

Note: If you omit this parameter, all buttons associated with the specified control are enabled or disabled.

enabled

A Boolean value that indicates whether to enable (1) or disable (0) the button.

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