Table of Contents

TTMSFNCResponsiveManager Class

Drop-in component that monitors a control's size at runtime and automatically restores the matching breakpoint state snapshot whenever the dimensions change.

API unit family: TMSFNCResponsiveManager Inherits from: TTMSFNCCustomResponsiveManager

Syntax

TTMSFNCResponsiveManager = class(TTMSFNCCustomResponsiveManager)

Properties

Name Description
AutoLoadOnResize When True, the manager re-evaluates breakpoints and loads the matching state whenever the monitored control is resized. (inherited from TTMSFNCCustomResponsiveManager)
Mode Controls which dimension (width, height, or both) is used to select the active breakpoint state on resize. (inherited from TTMSFNCCustomResponsiveManager)
States The collection of responsive breakpoint states, each pairing a stored control snapshot with a constraint. (inherited from TTMSFNCCustomResponsiveManager)
Version Returns the version number of this component. (inherited from TTMSFNCCustomResponsiveManager)

Methods

Name Description
FindState Returns the state whose string constraint matches AStringValue, or nil if none matches. (inherited from TTMSFNCCustomResponsiveManager)
LoadState Activates the state whose string constraint matches AStringValue. (inherited from TTMSFNCCustomResponsiveManager)
Preview Opens a preview form that lets you interactively resize a copy of the managed control to inspect breakpoint behaviour at design time. (inherited from TTMSFNCCustomResponsiveManager)
SaveToNewState Captures the current control state into a new collection item and returns it. (inherited from TTMSFNCCustomResponsiveManager)

Used by