of_setundo


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_levelsource   >   of_setundo   

Full name pfc_n_cst_tvsrv_levelsource.of_setundo
Access public
Extend of integer
Return value integer
Prototype public function integer of_setundo(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setundo (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetUndo
//
//	Access:		Public
//
//	Arguments:
//	ab_switch	specifies whether undo information will be remembered
//
//	Returns:		integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets whether undo information will be remembered
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Validate arguments
if IsNull (ab_switch) then return -1

ib_undo = ab_switch

return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data