TTMSFNCStateManagerItem Class
A named state snapshot collection item that stores serialized control property values and the constraint that activates it.
API unit family: TMSFNCStateManager
Inherits from: TCollectionItem
Syntax
TTMSFNCStateManagerItem = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Content | The JSON-serialized control property snapshot that this state restores. |
| DataBoolean | When True, the optional Boolean data slot for this state item is set. |
| DataInteger | Optional integer slot for associating a native integer with this state item. |
| DataObject | Optional object slot for associating an object reference with this state item. |
| DataPointer | Optional pointer slot for associating arbitrary data with this state item. |
| DataString | Optional string slot for associating a string value with this state item. |
| Name | The unique display name that identifies this state snapshot. |
Methods
| Name | Description |
|---|---|
| Load | Applies this item's stored state snapshot to the managed control tree. |