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

IsButtonEnabled() method

  • Last UpdatedNov 26, 2024
  • 1 minute read

Use the IsButtonEnabled() method to loop through all buttons in the Button Bar control looking for the button specified by the supplied information. If the button is found, the enabled status is returned. If it is not found, False is returned.

Syntax

result = IsButtonEnabled(controlID, buttonID, userData);

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.

userData

An object that provides the user data of the button.

result

A Boolean value. The value is True if button is found and the button is enabled; otherwise the value is False.

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