|
pfc_additem
|
|
Full name
|
pfc_u_lvs.pfc_additem
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_additem(n_ds,long)
|
event pfc_additem;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_AddItem
//
// Arguments:
// ads_source The DataStore containing the data to be used for the new item.
// This can be the same DataStore that was created for the listview, or
// another maintained by the user. If the latter, the row will be added
// to the listviews DataStore. Passed by reference.
// al_Row The row in the DataStore pointing to the data.
//
// Returns: integer
// index of item added
// -1 = an error occurred
//
// Description: Add the item to the end of the 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.
//
//////////////////////////////////////////////////////////////////////////////
return this.event pfc_insertitem(ads_source, al_row, INSERT_LAST, 0)
end event