of_updatespending


pfcmain.pbl   >   pfc_u_lvs   >   of_updatespending   

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

Name Datatype
No Data

Name Datatype
li_rc integer
lpo_pending powerobject[]
lpo_updatearray powerobject[]
NO_UPDATESPENDING integer

public function integer of_updatespending ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_UpdatesPending
//
//	Access:		Public
//
//	Arguments:	none
//
//	Returns:  integer
//	1 = Updates are pending.
//	0 = No updates are pending
//
//	Description:
//	Determine if any updates are pending on this listview.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

constant integer NO_UPDATESPENDING =0
integer		li_rc 
powerobject lpo_updatearray[]
powerobject lpo_pending[]

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

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

li_rc = this.Event pfc_UpdatesPending(lpo_updatearray, lpo_pending)
ipo_pendingupdates = lpo_pending

return li_rc

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

     
Full name
No Data

     
Name Scope
No Data