History
Specifies whether form layout information is stored in the Registry.
HISTORY=
ON
| OFF
| NONE
Default value: | ON
|
File section: | [layout] |
Arguments
ON
—form layout is stored in memory and in the Windows Registry. The layout settings stored depend on several other settings and properties.OFF
—form state is stored in memory only and not in the Registry. The settings are lost when you close Uniface.NONE
—form layout is not stored, neither in memory nor the Registry
Description
If History=on
, the following
properties and settings determine whether and how layout is stored:
- Keep Layout State property for forms and grid widgets.For more information, see Keep Layout State (KeepLayout).
- Layout State Storage property for forms and grid widgets. For more information, see Layout State Storage (LAYOUTSTORAGE).
- SaveContainedForm initialization setting for contained forms. For more information, see SaveContainedForm.
If History=off
, these settings
are ignored and the layout for all forms, split bars, and grid widgets is not saved.
Stored layout information is ignored if a form is displayed in a popup window.
Note: The stored layout is user-specific on a system and is not portable, so it should not be copied to another system or user.
Deleting Stored Layouts
In some circumstances you may need to clear stored form layouts. For example, changing the font used for display can result in unattractive form layouts that are too small for the data. This can occur if you map to large fonts in the [screen] section, or you change the font used to display the Font 0 meta character set. Saving tab form layouts when a tab is used in multiple application forms can also result in problems.
To correct this situation, you need to delete the stored layouts. To do so, use the Uniface Setup menu, utility, choose the State tab, and select Delete current layout geometry from settings on app exit.