Home > Reference > Script triggers reference > OnLayoutSizeChange
OnLayoutSizeChange Triggers a script to run 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 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. 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 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