Layout State Storage (LAYOUTSTORAGE)

Determines how the layout state for forms and grid widgets is stored. Valid values are PROCESS, COMPONENT, or INSTANCE.

Value Description
PROCESS Keeps layout state information while the process is active, but does not write it to the Registry. The internal name used is ComponentName\InstanceName.
COMPONENT Writes layout state information to the Registry under the name ComponentName
INSTANCE Writes layout state information to the Registry under the name ComponentName\InstanceName.

Note:  State information is stored only if user-defined instance names have been used. It is not stored if the instance name has been generated by Uniface, such as 00001111.

Usage

Dynamic? No
Supported in Grid? Yes
Dependencies: Keep Layout State must be True

Description

If Keep Layout State is True for a Form, but Layout State Storage is not defined, Uniface behaves as if Layout State Storage is set to Component.

If Keep Layout State is False for a Form, but True for a Grid in the Form, the Grid layout state is stored at the Instance level in the Registry, but only if the instance name has not been generated by Uniface.

Applies to

Related Topics