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.SetTag
Sets tag for window.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Window | 6.3 | Yes | Yes | No | No | No |
MBS( "Window.SetTag"; WindowRef; Tag ) 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 |
| Tag | The new tag value. |
Result
Returns OK or error.
Description
Sets tag for window.The MBS Plugin manages a list of open windows, so you can set tag value for a window.
Please be aware that referencing windows just by name is not good as window names may not be unique.
Use Window.Current to get ID for current window. Or use function Window.SetCurrentTag to set tag of current window.
See also
- Window.Current
- Window.FindByIndex
- Window.FindByTitle
- Window.GetTag
- Window.GetTop
- Window.SetCurrentTag
Blog Entries
Created 10th June 2016, last changed 10th June 2016
Window.SetShowsToolbarButton - Window.SetTitle
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos