|
of_canundo
|
|
Full name
|
pfc_u_tvs.of_canundo
|
Access
|
public
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
public function boolean of_canundo(ref string)
|
public function boolean of_canundo (ref string as_undotype);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_CanUndo
//
// Access: Public
//
// Arguments:
// as_undotype The type of undo we are performing. Passed by reference
//
// Returns: Boolean
// true = we can undo the last edit/insert/delete
// false = cannot undo the last edit/insert/delete
//
// Description:
// Returns if undo can be performed and the type of undo that can be performed
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// initialize the undo type
as_undotype = ""
// call undo on the service to see if we can perform an undo
If IsValid(inv_levelsource) Then
Return inv_levelsource.of_canundo(as_undotype)
End If
Return FALSE
end function