changeLayoutBreakpoint

Typemessage
Dictionarylibrary.responsivelayout
LibraryResponsiveLayout
Syntax
changeLayoutBreakpoint <pNewLayoutBreakpoint>, <pOldLayoutBreakpoint>
Associationscom.livecode.library.responsivelayout
Summary

This message is sent to the card when the breakpoint changes.

Parameters
NameTypeDescription
pNewLayoutBreakpoint

The name of the new breakpoint.

pOldLayoutBreakpoint

The previous breaking point.

Example
on changeLayoutBreakpoint pNewLayoutBreakpoint, pOldLayoutBreakpoint
   put pNewLayoutBreakpoint, pOldLayoutBreakpoint into field 1
end changeLayoutBreakpoint
Description

The changeLayoutBreakpoint message is sent to the current card when the breakpoint of the grids changes.

Use this message to customize how the control behaves on different stack sizes.