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  

Window.Current

Queries the reference number of current window.

Component Version macOS Windows Server FileMaker Cloud 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