|
of_AcceptText
|
|
Full name
|
pfc_u_dw.of_AcceptText
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_AcceptText(boolean)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_AcceptText (boolean ab_focusonerror);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_AcceptText
// Arguments: ab_focusonerror States if focus should be set in case of error.
// Returns: Integer - 1 if it succeeds and -1 if an error occurs
// Description: Perform an accepttext and set focus when requested.
// Note: Specific accepttext logic should be coded in descendant pfc_AcceptText event.
//////////////////////////////////////////////////////////////////////////////
// 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.
//////////////////////////////////////////////////////////////////////////////
integer li_rc
if IsValid(inv_Linkage) then
li_rc = inv_Linkage.of_AcceptText(ab_focusonerror)
else
li_rc = this.Event pfc_AcceptText(ab_focusonerror)
end if
return li_rc
end function