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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the principal item identifier.

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


Parameter Description Example value
TouchBarRef The reference number for the touch bar. $TouchBar
Identifier The identifier for the main command. "Anaylze"


Returns OK or error.


Sets the principal item identifier.
Specifying a principal item identifier communicates that the item with that identifier has special significance to this touch bar. Currently, that item will be placed in the center of the resolved touch row. Note that multiple visible bars may each specify a principal item identifier - but only one of them can have the request honored.


Set main item:

Set Variable [$r; Value:MBS( "TouchBar.SetPrincipalItemIdentifier"; $t; "NextRecord" )]

See also

Example Databases

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

TouchBar.SetDefaultItemIdentifiers   -   TouchBar.ToggleCustomizationPalette

Feedback: Report problem or ask question.

MBS FileMaker Plugins