Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Window.SetToolbarConfiguration
Sets the toolbar configuration.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Toolbar Window | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "Window.SetToolbarConfiguration"; WindowRef; ConfigurationXML ) More
Parameters
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
ConfigurationXML | The configuration XML. Should be the one returned by Window.GetToolbarConfiguration. | $ConfigurationXML |
Result
Returns OK or error.
Description
Sets the toolbar configuration.Pass a xml with the toolbar's configuration information. If you want to provide a custom xml, you should first get the receiver's current configuration xml, then create a modified copy, rather than trying to construct one yourself.
Do not depend on any details of the normal contents of a configuration dictionary. This may change with an update to macOS or FileMaker.
See also
- Toolbar.Install
- Toolbar.Register
- Window.FindByIndex
- Window.FindByTitle
- Window.GetToolbarConfiguration
Example Databases
Blog Entries
This function checks for a license.
Created 19th August 2014, last changed 10th August 2020
Window.SetTitlebarSeparatorStyle - Window.SetToolbarDisplayMode