|
pfc_updatespending
|
|
Full name
|
pfc_w_master.pfc_updatespending
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_updatespending(powerobject[])
|
Name
|
Datatype
|
li_rc
|
Integer
|
lpo_pending
|
PowerObject[]
|
event pfc_updatespending;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_UpdatesPending
//
// Arguments:
// apo_control array of controls to check for any updates pending
//
// Returns: integer
// 1 = updates are pending (no errors found)
// 0 = No updates pending (no errors found)
// -1 = error
//
// Description:
// Check for any unsaved objects in the specified array and store
// references in inv_pendingupdates.
//
// Note:
// This event stores the objects with updates pending in inv_pendingupdates.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 5.0.03 Corrected variable information which allowed the new upperbound for
// ipo_pendingupdates to be off due to the recursive nature of the event.
// 6.0 Redirected to the simulated Event Overloading.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
Integer li_rc
PowerObject lpo_pending[]
li_rc = this.Event pfc_updatespendingref(apo_control, lpo_pending)
ipo_pendingupdates = lpo_pending // *Set* the instance ipo_pendingupdates
Return li_rc
end event