of_ResetList


pfcapsrv.pbl   >   pfc_n_cst_lvsrv_datasource   >   of_ResetList   

Full name pfc_n_cst_lvsrv_datasource.of_ResetList
Access public
Extend of integer
Return value integer
Prototype public function integer of_ResetList()

Name Datatype
No Data

Name Datatype
No Data

public function integer of_ResetList ();//////////////////////////////////////////////////////////////////////////////
//	Public Function:	of_ResetList
//	Arguments:  	None
//	Returns:  		Integer
//	 					1 if it succeeds
//						-1 if an error occurs.
//	Description:	Reset/clear the entire listview (items and datastores).
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						6.0  Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
// clear the listview - delete the columns from detail view
if of_UnRegisterReportColumn() < 1 then return -1

// clear the datasource
this.of_Reset()

// Reset the undo variables 
this.of_ClearUndo()

return 1
end function

     
Name Owner
pfc_u_lvs.of_reset pfc_u_lvs

     
Name Owner
pfc_n_cst_lvsrv_datasource.of_Reset pfc_n_cst_lvsrv_datasource
pfc_n_cst_lvsrv_datasource.of_ClearUndo pfc_n_cst_lvsrv_datasource
pfc_n_cst_lvsrv_datasource.of_UnRegisterReportColumn pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data