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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Window.SetToolbarConfiguration
Sets the toolbar configuration.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Created 19th August 2014, last changed 10th August 2020
Window.SetTitlebarSeparatorStyle - Window.SetToolbarDisplayMode
Feedback: Report problem or ask question.
Links
MBS Xojo blog