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: 11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0    Statistic    FMM    Blog  

Window.Current

Queries the reference number of current window.

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

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

Example Databases

Blog Entries

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


Window.ConfigureToolbarMenu - Window.DisableScrollbars

Feedback: Report problem or ask question.


Start Chat