User Tools

Site Tools


historykey_restore_field_key_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Properties >====== HistoryKey (restore field key) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
HistoryKey SIGNED

blk2blue.jpg

The HistoryKey property enables “save/restore field history” and sets the keystroke which restores a form field's prior saved value. When the end user presses the specified key, the WindowManager retores the field with focus from the previously processed record.

Implementation:

The WindowManagerClass does not initialize the HistoryKey property. Your derived Init method should initialize the HistoryKey property if your window uses a history key. See the Conceptual Example.

The AddHistoryFile method names the file and record buffers from which fields are saved and restored. AddHistoryField associates specific fields from the history file with their corresponding WINDOW controls. The SaveHistory method saves a copy of the history fields. The RestoreField method restores the contents of a specific control.

Keystroke EQUATEs are declared in \LIBSRC\KEYCODES.CLW.

See Also:     AddHistoryField, AddHistoryFile, RestoreField, SaveHistory

historykey_restore_field_key_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1