Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  


Sets tag for window.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 6.3 Yes Yes No No No
MBS( "Window.SetTag"; WindowRef; Tag )   More


Parameter Description Example value
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.


Returns OK or error.


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

Blog Entries

Created 10th June 2016, last changed 10th June 2016

Window.SetShowsToolbarButton   -   Window.SetTitle

Feedback: Report problem or ask question.

MBS Xojo Plugins