|
of_insertitem
|
|
Full name
|
pfc_u_tvs.of_insertitem
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
public function long of_insertitem(long,any[])
|
public function long of_insertitem (long al_parent, any aa_columnvalues[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_InsertItem
//
// Access: public
//
// Arguments:
// al_parent The handle to the Treeview item to place retrieved data under
// aa_ColumnValues[] The array containing the data to be used for the new item.
//
// Returns: Long
// Returns the handle of the item if it was added successfully,
// -1 if an error occurrs.
//
// Description: Add a new item to the treeview using a inserted row. The row does
// not have to be added to the datastore first using this method. Pass
// the row in with the aa_columnvalues 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.
//
//////////////////////////////////////////////////////////////////////////////
return this.of_insertitem(al_parent, aa_columnvalues, INSERT_LAST, 0)
end function