pfc_decode


pfcapsrv.pbl   >   pfc_n_cst_mru   >   pfc_decode   

Full name pfc_n_cst_mru.pfc_decode
Access public
Extend of integer
Return value integer
Prototype event integer pfc_decode(string,ref n_cst_mruattrib)

Name Datatype
No Data

Name Datatype
lnv_string n_cst_string

event pfc_decode;//////////////////////////////////////////////////////////////////////////////
//
//	Event:	pfc_decode
//
//	Arguments:
//	as_itemkey		key string from registry/ini to decode/parse
//	anv_mruattrib	MRU atribute structure passed by reference
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Triggered when MRU items are being restored from registry/ini
// Developer can override event to place other decode logic if desired
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////
n_cst_string	lnv_string
	
anv_mruattrib.is_classname = lnv_string.of_GetKeyValue (as_itemkey, "classname", is_delimiter)
anv_mruattrib.is_menuitemname = lnv_string.of_GetKeyValue (as_itemkey, "menuitemname", is_delimiter)
anv_mruattrib.is_menuitemkey = lnv_string.of_GetKeyValue (as_itemkey, "menuitemkey", is_delimiter)
anv_mruattrib.is_menuitemmhelp = lnv_string.of_GetKeyValue (as_itemkey, "menuitemmhelp", is_delimiter)

return 1
end event

     
Name Owner
pfc_n_cst_mru.of_read pfc_n_cst_mru

     
Name Owner
pfc_n_cst_string.of_getkeyvalue pfc_n_cst_string

     
Full name
No Data

     
Name Scope
No Data