ProjectContext :: saveDataEnabled - Save data after value has been changed
In order to save instances that have been changed via GUI form, save has to be called explicitly or the edit form hasto be closed or filled (with same or new instance data.). In order to force the GUI framework storing data always when leaving a field that had been changed, this feature may be enabled.
When the feature is enabled, forms in the application will update their content and refresh all fields in the form, when focus is given to another field (control). Thus, it becomes more save when working in the same form on the same instance in parallel with different users
By default, save data feature will be enabled, when the option GUIFramework.SaveAfterValueChanged has been set to true .
A State true indicates, that the function was executed successfully. Otherwise state is false .
Implementation overview
- Save data feature
ProjectContext :: saveDataEnabled (  ) - Save data feature
ProjectContext :: saveDataEnabled ( bEnable )
Implementation details
-
Save data feature
bool ProjectContext  :: saveDataEnabled (  )
The function returns, whether save data feature is enabled or not.
to list
-
Save data feature
bool ProjectContext  :: saveDataEnabled ( bool bEnable )
The function allows enabling or disabling the save data feature
- bEnable
- Enable resource
In order to enable the referenced resource true should be passed. Passing false will disable the resource.
to list
- bEnable
- Enable resource