Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 Statistic
Activates the window.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|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|
Returns OK on success.
DescriptionActivates 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.
Created 18th August 2014, last changed 30th March 2017
Feedback: Report problem or ask question.
MBS Xojo tutorial videos