Sign in Join
FPDoc Onlineexperiment

TControl.SessionProperties property

Member of TControlprotectedIn unit Controls

Delimited list of property or sub-component property names saved to and restored from an external storage mechanism.

Declaration

pascal
property SessionProperties: string read FSessionProperties write FSessionProperties;

Description

SessionProperties is a String property with the names of properties, in the class instance or its child Components. SessionProperties allows published property values to be saved to and restored from an external storage mechanism like: TIniPropStorage, TXMLPropStorage, or TJSONPropStorage.

Values in the property are delimited using the ';' (SemiColon) character. Component properties require both the component and property names using dotted notation like 'Image1.Visible'. In the TForm descendent class, the values can be assigned at design-time using a dialog in the Lazarus IDE, or by setting the property value at run-time.

In TControl, SessionProperties has protected visibility; it is elevated to published visibility in the TForm descendant.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.