pfc_additem


pfcmain.pbl   >   pfc_u_lvs   >   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)

Name Datatype
No Data

Name Datatype
No Data

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

     
Name Owner
pfc_u_lvs.of_additem pfc_u_lvs

     
Name Owner
pfc_u_lvs.pfc_insertitem pfc_u_lvs

     
Full name
No Data

     
Name Scope
No Data