of_register


pfcapsrv.pbl   >   pfc_n_cst_mru   >   of_register   

Full name pfc_n_cst_mru.of_register
Access public
Extend of integer
Return value integer
Prototype public function integer of_register(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_register (string as_id);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_Register
//
//	Access:		public
//
//	Arguments:
//	as_id		   name of the id to register with the service
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1
// Already registered = 0
//
//	Description:	register an id with the service to store mru information for
//
//		This function overloads the normal of_register function to allow the # of
//		items to remember for this id to be optional
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Return of_register(as_id, ii_mruitemcount)
end function

     
Name Owner
pfc_n_cst_mru.of_load pfc_n_cst_mru
w_frame_mdi.pfc_preopen w_frame_mdi
w_frame_mdi.pfc_preopen w_frame_mdi

     
Name Owner
pfc_n_cst_mru.of_register pfc_n_cst_mru

     
Full name
No Data

     
Name Scope
No Data