Restores the label of the base type for buttons.
Object.ResetCaption
| Object | ActionObjButton Object with this method |
The following example modifies the label of the predefined button ANADlgChnGen and then restores the label of the base type:
'Sets Caption BarManager.ActionObjs("ANADlgChnGen").Caption = "Generate data" 'Resets Caption Call BarManager.ActionObjs("ANADlgChnGen").ResetCaption