pfc_undo


pfcmain.pbl   >   pfc_u_em   >   pfc_undo   

Full name pfc_u_em.pfc_undo
Access public
Extend of integer
Return value integer
Prototype event integer pfc_undo()

Name Datatype
No Data

Name Datatype
No Data

event pfc_undo;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			pfc_undo
//
//	(Arguments:		None)
//
//	(Returns:  		integer
//						Return value from the PowerScript CanUndo function
//						0 If there is nothing to Undo.)
//
//	Description:	Cancels the last edit, restoring the text to the content
//						before the last change.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

if this.CanUndo() then
	Return this.Undo()
end if

Return 0
end event

     
Name Owner
No Data

     
Name Owner
multilineedit.canundo multilineedit
multilineedit.undo multilineedit

     
Full name
No Data

     
Name Scope
No Data