Reference > Script triggers reference > OnLayoutSizeChange
 

OnLayoutSizeChange

Performs a script after a layout or window has changed size as a result of the following:

in FileMaker Go: rotating the iOS device, hiding or showing the status toolbar, or when a window is first opened

in FileMaker Pro Advanced and FileMaker WebDirect: changing the size of a layout or window by user interaction, by script step, by hiding or showing the status toolbar or formatting bar via menu command, shortcut, or script step, or when a window is first opened

When the script runs

After the event has been processed.

Modes in which the trigger can be used

Browse and Find modes.

Result

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

Yes 

Originated in 

FileMaker Pro 13.0

Notes 

Use the Get(WindowOrientation) function to return the current window orientation.

If you resize the window using a mouse, this script trigger activates only when you finish resizing the window.

Related topics 

Setting up script triggers

Setting script triggers for layouts

Setting script triggers for objects