| Home | Previous Lesson: pfc_PreMRUSave Next Lesson: pfc_MRUProcess |
pfc_mruRestore event is triggered by Window Activate, Close and Open events. Close event actually fires this event to restore for the parent window if it is available. So, if you have a MDI window with two sheets open, if you close sheet 1, then the MRUs for the MDI window would be restored first and immediately, MRUs for the next sheet would be restored. The final result is, you will see MRUs for the second sheet in its menu.
// Object: w_product_master
// Event: pfc_MRURestore
If IsValid(gnv_app.inv_mru) Then
Return gnv_app.inv_mru.of_Restore("pms", This)
Else
Return �1
End If
If you do not write code to call of_Restore() function, PFC will not display the MRU menu options.
| Home | Previous Lesson: pfc_PreMRUSave Next Lesson: pfc_MRUProcess |