[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.SessionProperties

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

Declaration

Source position: controls.pp line 1586

protected property TControl.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

TForm.SessionProperties

  

Delimited list of form and / or component properties saved to and restored from an external storage mechanism.


Version 3.2 Generated 2024-02-25 Home