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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Window.SetTopMost

Sets window to be topmost.

Component Version macOS Windows Linux Server iOS SDK
Window 4.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.SetTopMost"; WindowRef; Value )   More

Parameters

Parameter Description Example
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
Value The new topmost setting. Can be 0 or 1. 1

Result

Returns OK or error.

Description

Sets window to be topmost.
If window is topmost, it floats over all other windows.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


Window.SetToolbarVisible - Window.SetZoomButton

Feedback: Report problem or ask question.