company logo

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.

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false.

Implementation details

  1. Save data feature
    bool ProjectContext  :: saveDataEnabled (  )

    The function returns, whether save data feature is enabled or not.

  2. to list
  3. 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.

  4. to list