Jump to content

Component: Property Manager (Utility )

From Flowcode Help
Revision as of 13:12, 7 February 2023 by Wiki bot (talk | contribs)
Author Matrix TSL
Version 1.0
Category Utility


Property Manager component

Allows property values exposed to the user to be saved and loaded using an external file. Simplifies the process of storing and retreiving the property values. Also works with nested properties using the "::" syntax.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_PropertyManager.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_PropertyManager.fcsx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

Load

Load
Loads the registered property values from the config file. 
- VOID Return


RegisterProperty

RegisterProperty
Registers a property to be saved or loaded 
- STRING PropertyVariable
Property variable exposed to the user, highlight property and variable is shown at the bottom of the window. 
- VOID Return


Save

Save
Saves the registered property values to the config file. 
- VOID Return


Property reference

Properties
Filepath
Sets the path of the file to write to. $(srcdir) default sets the path to be the same as the Flowcode project path. 
Filename
 
Show Dialogue On Load
Forces the user to check if they are sure before loading saved values. 
Show Dialogue On Save
Forces the user to check if they are sure before overwriting previous values.