Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the default identifiers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
TouchBar 6.5 Yes No No No No
MBS( "TouchBar.SetDefaultItemIdentifiers"; TouchBarRef; List )   More


Parameter Description Example value
TouchBarRef The reference number for the touch bar. $TouchBar
List The list of items.


Returns OK or error.


Sets the default identifiers.
An array of identifiers specifying the items in this touch bar.
Item identifiers should be globally unique, excepting NSTouchBarItemIdentifierFixedSpaceSmall, NSTouchBarItemIdentifierFixedSpaceLarge, NSTouchBarItemIdentifierFlexibleSpace, and NSTouchBarItemIdentifierOtherItemsProxy.

This array also corresponds to the item ordering for the receiver in the “default set” in the customization palette.


Sets an item some space and a proxy for others:

MBS( "TouchBar.SetDefaultItemIdentifiers"; $TouchBar; "Print¶NSTouchBarItemIdentifierFixedSpaceSmall¶NSTouchBarItemIdentifierOtherItemsProxy" )

See also

Example Databases

Created 1st November 2016, last changed 1st November 2016

TouchBar.SetCustomizationRequiredItemIdentifiers   -   TouchBar.SetPrincipalItemIdentifier

Feedback: Report problem or ask question.

MBS Xojo Plugins