pfc_newitem


pfcmain.pbl   >   pfc_u_tvs   >   pfc_newitem   

Full name pfc_u_tvs.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 treeview.
//
//	Note:	this is a place holder event for code if you need it
//
//		If using a treeview to add a new item not already in the datastore, then
//		create a local datastore with the same source as the treeview.  Open a 
//		response window with the edit field information.  Return the new data to
//		your local datastore and call pfc_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