| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > WindowManager > WindowManager Properties >====== HistoryKey (restore field key) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[forcedreset force reset flag .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[insertaction response to insert request .htm|{{btn_next_n.gif|Next page}}]] | | || | | **HistoryKey** | **SIGNED** | {{blk2blue.jpg|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 add restorable control and field .htm|AddHistoryField]], [[addhistoryfile add restorable history file .htm|AddHistoryFile]], [[restorefield restore field to last saved value .htm|RestoreField]], [[savehistory save history fields for later restoration .htm|SaveHistory]]