TTMSFNCResponsiveManager.SaveToNewState Method
Captures the current control state into a new collection item and returns it.
API unit family: TMSFNCResponsiveManager
Declaring type: TTMSFNCResponsiveManager
Inherited from: TTMSFNCCustomResponsiveManager
Overloads
Overload 1
Captures the current control state into a new collection item and returns it.
function SaveToNewState: TTMSFNCResponsiveManagerItem; overload; virtual;
Returns
The newly created TTMSFNCResponsiveManagerItem containing the captured state.
Overload 2
Captures the current control state into a new collection item with a string constraint and returns it.
function SaveToNewState(AStringValue: string): TTMSFNCResponsiveManagerItem; overload; virtual;
Parameters
| Name | Description |
|---|---|
AStringValue |
The string constraint value assigned to the new state. |
Returns
The newly created TTMSFNCResponsiveManagerItem.
Overload 3
Captures the current control state into a new collection item with a boolean constraint and returns it.
function SaveToNewState(ABooleanValue: Boolean): TTMSFNCResponsiveManagerItem; overload; virtual;
Parameters
| Name | Description |
|---|---|
ABooleanValue |
The boolean constraint value assigned to the new state. |
Returns
The newly created TTMSFNCResponsiveManagerItem.
Overload 4
Captures the current control state into a new collection item with a numeric constraint and returns it.
function SaveToNewState(ANumberValue: Extended): TTMSFNCResponsiveManagerItem; overload; virtual;
Parameters
| Name | Description |
|---|---|
ANumberValue |
The numeric constraint value assigned to the new state. |
Returns
The newly created TTMSFNCResponsiveManagerItem.