Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Toolbar.InstallBackground

Installs a background for the toolbar.

Component Version macOS Windows Linux Server iOS SDK
Toolbar 4.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated.

MBS( "Toolbar.InstallBackground"; Image { ; Mode; DisableTitle } )   More

Parameters

Parameter Description Example Flags
Image The image to you. Pass a container value with JPEG, TIFF, PNG or other image formats. $img
Mode Can be 0 to stretch (default) or 1 to left align image. 0 Optional
DisableTitle If 1, we do not draw the window title on top of the image. 0 Optional

Result

Returns OK or error.

Description

Installs a background for the toolbar.
There is currently only one style for all FileMaker windows on macOS.
We draw an image below the toolbar buttons. Either we stretch it to full width we align it to left and fill the space on the right with last pixel colors.
There are little redraw issues, especially when resizing window.

Currently doesn't work in FileMaker 14 and newer. If you need that to work, please contact us.

Release notes

Blog Entries

This function checks for a license.

Created 25th August 2014, last changed 13th May 2021


Toolbar.Install - Toolbar.Register