of_getitem


pfcapsrv.pbl   >   pfc_n_cst_mru   >   of_getitem   

Full name pfc_n_cst_mru.of_getitem
Access public
Extend of integer
Return value integer
Prototype public function integer of_getitem(long,ref n_cst_mruattrib)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_getitem (long al_row, ref n_cst_mruattrib anv_mruattrib);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_GetItem
//
//	Access:		public
//
//	Arguments:
//	al_row			row to return from datastore
//	anv_mruattrib	MRU atribute structure - passed by reference
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1 
//
//	Description:
//	Return MRU information in the datastore to calling function
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

// check arguments
if IsNull(al_row) or (al_row < 1) then
	return -1
end if

// populate attribute object
anv_mruattrib.is_id = ids_mrukeys.object.s_id[al_row]
anv_mruattrib.is_classname = ids_mrukeys.object.s_classname[al_row]
anv_mruattrib.is_menuitemname = ids_mrukeys.object.s_menuitemname[al_row]
anv_mruattrib.is_menuitemkey = ids_mrukeys.object.s_menuitemkey[al_row]
anv_mruattrib.is_menuitemmhelp = ids_mrukeys.object.s_menuitemmhelp[al_row]

return 1
end function

     
Name Owner
pfc_n_cst_mru.of_restore pfc_n_cst_mru
w_frame_mdi.pfc_mruprocess w_frame_mdi
w_sheet_sales_order.pfc_mruprocess w_sheet_sales_order
w_sheet_employee.pfc_mruprocess w_sheet_employee
w_frame_mdi.pfc_mruprocess w_frame_mdi

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data