|
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
|
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