of_clearundo


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_levelsource   >   of_clearundo   

Full name pfc_n_cst_tvsrv_levelsource.of_clearundo
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_clearundo()

Name Datatype
No Data

Name Datatype
ltvi_emptyitem treeviewitem

protected function integer of_clearundo ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_ClearUndo
//
//	Access:		protected
//
//	Arguments:  None
//
//	Returns:		Integer
//				 	 1 if it succeeds
//					-1 if error
//	
//	Description:
//	clear the undo properties
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////
treeviewitem	ltvi_emptyitem

// Reset the undo variables
itvi_UndoDeleteItem = ltvi_emptyitem
il_UndoDeleteParentHandle = 0
il_UndoDeleteHandle = 0
il_UndoEditHandle = 0
il_UndoInsertHandle = 0
is_UndoEditLabelText = ""
is_UndoType = ""

return 1

end function

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_resettree pfc_n_cst_tvsrv_levelsource

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data