of_isselfupdatingobject


pfcapsrv.pbl   >   pfc_n_cst_luw   >   of_isselfupdatingobject   

Full name pfc_n_cst_luw.of_isselfupdatingobject
Access protected
Extend of boolean
Return value boolean
Prototype protected function boolean of_isselfupdatingobject(powerobject)

Name Datatype
No Data

Name Datatype
lb_defined Boolean
ls_args String[]

protected function boolean of_isselfupdatingobject (powerobject apo_control);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  
//	of_IsSelfUpdatingObject
//
//	Access:  Protected
//
//	Arguments:	
//	apo_control	The object which needs to be tested.
//
//	Returns:  boolean
//
//	Description:
//	Determines if the object is a SelfUpdatingObject.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Boolean	lb_defined
String	ls_args[]

// If there is no valid reference then it is not a SUO object.
If IsNull(apo_control) Or Not IsValid(apo_control) Then
	Return False
End If

// Set up the arguments for the MetaClass information
ls_args = {'boolean', 'boolean', 'powerobject'}

// See if the one method which is required for an object to be a SelfUpdatingObject.
lb_defined = inv_metaclass.of_isFunctionDefined &
	(apo_control.ClassDefinition, "of_Update", ls_args)	

Return lb_defined
end function

     
Name Owner
pfc_n_cst_luw.of_postupdate pfc_n_cst_luw
pfc_n_cst_luw.of_updateprep pfc_n_cst_luw
pfc_n_cst_luw.of_updatespending pfc_n_cst_luw
pfc_n_cst_luw.of_validation pfc_n_cst_luw
pfc_n_cst_luw.of_update pfc_n_cst_luw
pfc_n_cst_luw.of_accepttext pfc_n_cst_luw

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_metaclass.of_isfunctiondefined pfc_n_cst_metaclass

     
Full name
No Data

     
Name Scope
No Data