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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

TouchBar.SetPrincipalItemIdentifier

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 )

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

Set main item:

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

See also

Example Databases


TouchBar.SetDefaultItemIdentifiers   -   TouchBar.ToggleCustomizationPalette

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins