Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server (Not)
Client
Old
Guides
Examples
New in version:
6.5
7.0
7.1
7.2
7.3
7.4
7.5
8.0
8.1
8.2
Statistic
Window.ResizeContentView
Resizes content view of window.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Window | 6.0 | Yes | No | No | No | No |
MBS( "Window.ResizeContentView"; WindowRef { ; X; Y; W; H } )
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 |
X | Optional Delta for x position of content view. Use positive value to move to right or negative to move to left. |
0 |
Y | Optional Delta for y position of content view. Use positive value to move to top or negative to move to bottom. |
-5 |
W | Optional Delta for width of content view. Use positive value to make wider or negative value to make narrower. |
0 |
H | Optional Delta for height of content view. Use positive value to make heigher or negative value to make smaller. |
0 |
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
Window.Resize - Window.RunCommand
Feedback: Report problem or ask question.
Links
MBS FileMaker blog