DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: BaseID for ActionObjButton

Property: BaseID for ActionObjButton

Specifies the name of the base type of a bar element.

There are base types for user-defined bar elements and predefined base types for a specific purpose. User-defined base types always start with the ID Custom, such as CustomButton and CustomPopup.

Object.BaseID
ObjectActionObjButton
Object with this property
Object.BaseIDString with read access

The following example checks whether the transferred bar element is a CustomButton type element and disables the associated button if the Data Portal is empty:

VBScriptPython

 

Sub MyReset(oMyObject)
  If oMyObject.BaseId = "CustomButton" Then
    oMyObject.OnRefreshCode.Code = "This.Enable = (GlobUsedChn > 0)"
  End If
End Sub
In This Section
Was this information helpful?