pfc_close


pfcapsrv.pbl   >   pfc_n_cst_appmanager   >   pfc_close   

Full name pfc_n_cst_appmanager.pfc_close
Access public
Extend of
Return value
Prototype event pfc_close()

Name Datatype
No Data

Name Datatype
li_rc integer

event pfc_close;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  pfc_close
//
//	Arguments:  None
//
//	Returns:  None
//
//	Description:  Perform close processing
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
//	6.0   Add Application Preference and MRU Service hooks
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
integer		li_rc

// App Manager Preference services.
if IsValid (inv_AppPref) then
	li_rc = inv_AppPref.Event pfc_close () 
	if li_rc < 0 and isvalid(inv_debug) then
		of_MessageBox ("pfc_appmanager_appprefdebug", "PowerBuilder Class Library", &
			"The PFC Application Preferences service" +&
			" has been requested but the REQUIRED Application registry/INI File attributes" +&
			" have not been set.  Use of_SetAppKey/of_SetAppIniFile on the PFC Application" +&
			" Manager object to set the attribute.", &
			Exclamation!, Ok!, 1)
	end if
end if

// Most Recently Used service.
if IsValid (inv_mru) then
	inv_mru.Event pfc_close () 
end if

end event

     
Name Owner
n_cst_demopfc.pfc_close n_cst_demopfc

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_base.of_messagebox pfc_n_base
pfc_n_cst_mru.pfc_close pfc_n_cst_mru
pfc_n_cst_apppreference.pfc_close pfc_n_cst_apppreference

     
Full name
No Data

     
Name Scope
No Data