|
of_setupdateobjects
|
|
Full name
|
pfc_w_master.of_setupdateobjects
|
Access
|
protected
|
Override of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_setupdateobjects(powerobject[])
|
Name
|
Datatype
|
apo_objects
|
powerobject
|
protected function integer of_setupdateobjects (powerobject apo_objects[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetUpdateObjects
//
// Access: protected
//
// Arguments:
// apo_objects[] An array of objects on which the update process may take
// effect.
//
// Returns: integer
// 1 = success
// -1 = error
//
// Description:
// Sets a new default array holding objects for which an updates may be attempted.
// If this function is not called, the PFC default is the window control
// array (this.Control[]). The reason the description states 'may' is because of
// the pfc_saveobjects event, which can be used to save a different array of objects.
//
// The pfc_save process will look in the following order to determine what
// should be updated.
// 1) Specified one time sequence (thru pfc_saveobjects event).
// 2) Specified permananent sequence (thru of_SetUpdateObjects(...)).
// 3) None was specified, so use default window control array.
//
// The pfc_closequery process will look in the following order to determine what
// should be updated.
// 1) Specified permananent sequence (thru of_SetUpdateObjects(...)).
// 2) None was specified, so use default window control array.
//
// *Note: To reset the default back to the window control array, call this
// function with an empty powerobject array.
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
If IsNull(apo_objects) Then Return -1
ipo_updateobjects = apo_objects
Return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|