Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


Toolbar.Install - Toolbar.Register

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat