FNCTreeView DataInteger and DataString


I use SaveSettingsToStream/LoadSettingsFromStream as a convenient way to switch between views. However, the DataInteger and DataString properties aren't persisted - any chance these could be made published? At the moment I just modify the FNC source code.

Thanks, Bob


Data* properties are used for programmatic access and are not published, this is by design. You can inherit from the treeview and publish them in an inherited class.

Actually, a SaveSettingsToXML would be useful for the web version, even if you have a TMemoryStreamtype planned for the web RTL.

Cheers, Bob

Ok thanks I'll inherit as you suggest.

Cheers, Bob