Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
This function is free to use.
Created 6th June 2015, last changed 8th June 2015