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.Current

Queries the reference number of current window.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Window 5.2 Yes Yes No No No
MBS( "Window.Current" )   More

Parameters

none

Result

Returns number or error.

Description

Queries the reference number of current window.
This is same window the plugin would pick if you pass reference number 0 or empty to a window function.
It can be that the plugin does reference here the data viewer, debugger or some calculation dialog, if one is open.
The number returned is a number starting 15001 and counting up for each window the plugin sees.

Examples

Query current window:

MBS("Window.Current")

Show title of current window:

MBS( "Window.GetTitle" ; MBS( "Window.Current" ) )

See also

Blog Entries

Created 6th June 2015, last changed 8th June 2015


Window.ConfigureToolbarMenu   -   Window.DisableScrollbars

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat