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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

TouchBar.ToggleCustomizationPalette

Show or dismiss the customization palette for the currently displayed touch bars.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
TouchBar 6.5 Yes No No No No
MBS( "TouchBar.ToggleCustomizationPalette" )   More

Parameters

none

Result

Returns OK or error.

Description

Show or dismiss the customization palette for the currently displayed touch bars.
NSApplication validates this selector against whether the current touch bars are customizable and, if configured on a menu item, will standardize and localize the title. If the current system does not have touch bar support, the menu item will be automatically hidden.

Examples

Toggle Customization:

If [MBS( "TouchBar.Available" )]
    Set Variable [$r; Value:MBS("TouchBar.ToggleCustomizationPalette")]
Else
    Show Custom Dialog ["No TouchBar supported on this Mac."]
End If

See also

Example Databases

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


TouchBar.SetPrincipalItemIdentifier   -   TouchBar.Visible

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins