Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Window.SetTag

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 )

Parameters

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.

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.SetShowsToolbarButton   -   Window.SetTitle

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins