pfc_newitem


pfcmain.pbl   >   pfc_u_lvs   >   pfc_newitem   

Full name pfc_u_lvs.pfc_newitem
Access public
Extend of integer
Return value integer
Prototype event integer pfc_newitem()

Name Datatype
No Data

Name Datatype
No Data

event pfc_newitem;//////////////////////////////////////////////////////////////////////////////
//
//	Event:		pfc_newItem
//
//	Arguments:	None
//
//	Returns:		1 if it succeeds and -1 if an error occurs.
//	
//	Description:	Add an item to the listview.
//
//	Note:	This is a placeholder event for you to use if you need the functionality
//
//		If using a listview to add a new item not already in the datastore, then
//		create a local datastore with the same source as the listview.  Open a 
//		response window with the edit field information.  Return the new data to
//		your local datastore and call inv_datasource.of_insertitem() for each row of
//		data in your local datastore
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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 -1
end event

     
Name Owner
No Data

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data