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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Window.ResizeContentView
Resizes content view of window.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Window | 6.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated.
Parameters
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 |
Result
Returns OK or error.
Description
Resizes content view of window.This allows you to move the content view within any window.
e.g. on a FileMaker window to stretch content to move scrollbars out of sight.
Examples
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)
See also
Release notes
- Version 11.2
- Deprecated Window.ResizeContentView, Window.GetTitlebarAppearsTransparent and Window.SetTitlebarAppearsTransparent functions.
Blog Entries
Created 13th December 2015, last changed 7th April 2021
Window.Resize - Window.RunCommand
Feedback: Report problem or ask question.

Links
MBS Xojo blog