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

Window.Activate

Activates the window.

Component: Window
Version: 2.8
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "Window.Activate"; WindowRef )

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

Result

Returns OK on success.

Description

Activates the window.
This function does more than just show. if the window has been minimized, it will restore it. Also the window is moved to front and made the current window for keyboard input.

Sadly windows limits which windows can go to front, so some windows may not come to front unless they are clicked on.

As activation can be asynchronously, the window may activate later, e.g. in a script pause or at the end of the script.

See also


WinSendMail.SetText   -   Window.AddBottomOverlay

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde Ministranten Nickenich