Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Overwrites label used for a toolbar item.

Component Version macOS Windows Linux Server iOS SDK
Toolbar 6.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Toolbar.SetLabel"; Identifier; Text )   More


Parameter Description Example
Identifier The toolbar identifier.

Possible toolbar identifiers:
RecordNavigationToolbarItemIdentifier, ShowAllToolbarItemIdentifier, NSToolbarSpaceItem, NewRecordToolbarItemIdentifier, DeleteRecordToolbarItemIdentifier, NSToolbarSpaceItem, FindDropdownToolbarItemIdentifier, SortToolbarItemIdentifier, UploadServerToolbarItemIdentifier, QuickFindToolbarItemIdentifier, DuplicateRecordToolbarItemIdentifier, ManageToolbarItemIdentifier, SaveAsExcelToolbarItemIdentifier, SaveAsPDFToolbarItemIdentifier, SaveAsSnapshotLinkToolbarItemIdentifier, ImportToolbarItemIdentifier, ExportToolbarItemIdentifier, PrintToolbarItemIdentifier, PageSetupToolbarItemIdentifier, SendMailToolbarItemIdentifier, OmitRecordToolbarItemIdentifier, ShowOmittedToolbarItemIdentifier, NewWindowToolbarItemIdentifier, DebuggerToolbarItemIdentifier, DataViewerToolbarItemIdentifier, SavedFindToolbarItemIdentifier, NewLayoutAnyModeToolbarItemIdentifier
Text The text to use for label. "New Person"


Returns OK or error.


Overwrites label used for a toolbar item.
Use an empty text to remove entry from labels table.
You need to call Toolbar.Install at least once before using this command to have it take effect.


Overwrite labels:

Set Variable [$r; Value:MBS( "Toolbar.SetLabel"; "NewRecordToolbarItemIdentifier"; "New Person")]
Set Variable [$r; Value:MBS( "Toolbar.SetLabel"; "DeleteRecordToolbarItemIdentifier"; "Delete Person")]

See also

Blog Entries

This function checks for a license.

Created 12nd September 2016, last changed 12nd September 2016

Toolbar.SetImage - Toolbar.SetPaletteLabel