Property: Tooltip for ActionObjButton
- Updated2024-09-12
- 1 minute(s) read
Bar Manager > Properties > Property: Tooltip for ActionObjButton
Property: Tooltip for ActionObjButton
Specifies the tooltip for a bar element. If you idle the mouse on a bar element, the tooltip appears.
Object.Tooltip
Object | ActionObjButton Object with this property |
Object.Tooltip | String with read and write access |
The following example adds a button to the toolbar in DIAdem SCRIPT. The example assigns a graphic and a tooltip to the button.
VBScript | Python |
Dim oMyActionObj If not (BarManager.ActionObjs.Exists("MyButton")) Then Set oMyActionObj = BarManager.ActionObjs.Add("MyButton", "CustomButton") oMyActionObj.Picture = "favicon.ico" oMyActionObj.Tooltip = "MyButton" End If Call BarManager.Bars("SCRMain").UsedActionObjs.Add(oMyActionObj)