Property: BaseID for ActionObjButton
- Updated2024-09-12
- 1 minute(s) read
Bar Manager > Properties > 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
Object | ActionObjButton Object with this property |
Object.BaseID | String 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:
VBScript | Python |
Sub MyReset(oMyObject) If oMyObject.BaseId = "CustomButton" Then oMyObject.OnRefreshCode.Code = "This.Enable = (GlobUsedChn > 0)" End If End Sub