pfc_refreshitem


pfcmain.pbl   >   pfc_u_tvs   >   pfc_refreshitem   

Full name pfc_u_tvs.pfc_refreshitem
Access public
Extend of integer
Return value integer
Prototype event integer pfc_refreshitem(long)

Name Datatype
No Data

Name Datatype
No Data

event pfc_refreshitem;//////////////////////////////////////////////////////////////////////////////
//
//	Event:	pfc_RefreshItem
//
//	Arguments:
//	al_handle	The handle of the item to be refreshed.
//
//	Returns:		Integer
//					 1 if successfull
//					-1 if an error occurred
//
//	Description:	Refresh an item in the treeview.  Reset all its attributes to the 
//						default values based on the data in the DataStore.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// see if using the pfc datasource
If isvalid(inv_levelsource) then
	Return inv_levelsource.event pfc_refreshitem(al_handle)
End IF

Return -1

end event

     
Name Owner
pfc_n_cst_tvsrv_levelsource.pfc_refreshlevel pfc_n_cst_tvsrv_levelsource

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_tvsrv_levelsource.pfc_refreshitem pfc_n_cst_tvsrv_levelsource

     
Full name
No Data

     
Name Scope
No Data