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 whether customize menu is automatically enabled.

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


Parameter Description Example value
Setting The new setting.
Can be 1 to enable or 0 to disable.


Returns OK or error.


Sets whether customize menu is automatically enabled.
Whether or not a menu item to customize the touch bar can be automatically added to the main menu. It will only actually be added when a touch bar hardware or simulator is present. Defaults to 0. Setting this property to 1 is the recommended way to add the customization menu item.
But if non-standard placement of the menu item is needed, creating a menu item with an action of toggleTouchBarCustomizationPalette can be used instead.


Enable menu command:

If [MBS( "TouchBar.Available" )]
    Set Variable [$r; Value:MBS( "TouchBar.SetAutomaticCustomizeTouchBarMenuItemEnabled"; 1 )]
End If

See also

Example Databases

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

TouchBar.Release   -   TouchBar.SetCustomizationAllowedItemIdentifiers

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins