of_accepttext


pfcmain.pbl   >   pfc_u_lvs   >   of_accepttext   

Full name pfc_u_lvs.of_accepttext
Access public
Extend of integer
Return value integer
Prototype public function integer of_accepttext(boolean)

Name Datatype
No Data

Name Datatype
lpo_updatearray powerobject[]

public function integer of_accepttext (boolean ab_focusonerror);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_accepttext
//
//	Access:		public
//
//	Arguments:  
//	ab_focusonerror	States if focus should be set in case of error.
//
//	Returns:		integer
//  1 = CONTINUE_ACTION
//  0 = NO_ACTION
// -1 = error
//	
//	Description:
//	Perform an accepttext and set focus when requested.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

powerobject lpo_updatearray[]

// Make sure there is something to take action on.
If Not of_IsUpdateable() Then Return NO_ACTION

// Determine the appropriate array.
this.of_Getobjects(lpo_updatearray)

Return this.Event pfc_AcceptText(lpo_updatearray, ab_focusonerror)

end function

     
Name Owner
No Data

     
Name Owner
pfc_u_lvs.of_isupdateable pfc_u_lvs
pfc_u_lvs.of_getobjects pfc_u_lvs
pfc_u_lvs.pfc_accepttext pfc_u_lvs

     
Full name
No Data

     
Name Scope
No Data