|
pfc_mruprocess
|
|
Full name
|
w_frame_mdi.pfc_mruprocess
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event pfc_mruprocess()
|
Name
|
Datatype
|
lnv_menu
|
n_cst_menu
|
lnv_mruattrib
|
n_cst_mruattrib
|
lw_window
|
window
|
event pfc_mruprocess;call super::pfc_mruprocess;//////////////////////////////////////////////////////////////////////////////
//
// Function : pfc_mruprocess
//
// Arguments : integer ai_row
//
// Returns : integer
//
// Description :
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History Author: Novalys
//
// Date Version
//
// 06/07/2000 1.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
window lw_window
n_cst_menu lnv_menu
n_cst_mruattrib lnv_mruattrib
// Check parameters.
IF IsNull(ai_row) OR NOT IsValid(gnv_app.inv_mru) THEN
Return -1
END IF
// Retrieve row from DataStore.
gnv_app.inv_mru.of_GetItem (ai_row, lnv_mruattrib)
message.of_setdoubleparm (long(lnv_mruattrib.is_menuitemkey))
// Open the Most Recent Sheet
OpenSheet(lw_window, lnv_mruattrib.is_classname, This, 0, Original!)
Return 1
end event