Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Toolbar.SetLabel

Overwrites label used for a toolbar item.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Toolbar 6.4 Yes No No No No

MBS( "Toolbar.SetLabel"; Identifier; Text )

Parameters

Parameter Description Example value
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
"NewRecordToolbarItemIdentifier"
Text The text to use for label. "New Person"

Result

Returns OK or error.

Description

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.

Examples

Overwrite labels:

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

See also


Toolbar.SetImage   -   Toolbar.SetPaletteLabel

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins