|
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()
|
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