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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Resizes content view of window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 6.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
This function was deprecated.
Parameter | Description | Example | Flags |
---|---|---|---|
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 | |
X | Delta for x position of content view. Use positive value to move to right or negative to move to left. |
0 | Optional |
Y | Delta for y position of content view. Use positive value to move to top or negative to move to bottom. |
-5 | Optional |
W | Delta for width of content view. Use positive value to make wider or negative value to make narrower. |
0 | Optional |
H | Delta for height of content view. Use positive value to make heigher or negative value to make smaller. |
0 | Optional |
Returns OK or error.
Resizes to hide scrollbar partial:
MBS("Window.ResizeContentView"; 0; 0; -5; 0; 5)
Reset content view:
MBS("Window.ResizeContentView"; $window; 0; 0; 0; 0)
Resizes to hide scrollbar:
MBS("Window.ResizeContentView"; 0; 0; -16; 0; 16)
Hide bottom area with controls:
MBS("Window.ResizeContentView"; 0; 0; -16; 0; 16)
This function checks for a license.
Created 13th December 2015, last changed 7th April 2021