Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#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 1510

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 Typhon 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.



CT Web help

CodeTyphon Studio