pfc_insertitem


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_levelsource   >   pfc_insertitem   

Full name pfc_n_cst_tvsrv_levelsource.pfc_insertitem
Access public
Extend of long
Return value long
Prototype event long pfc_insertitem(long,n_ds,long,treeviewitem,string,long)

Name Datatype
No Data

Name Datatype
No Data

event pfc_insertitem;call super::pfc_insertitem;//////////////////////////////////////////////////////////////////////////////
//
//	Event:		pfc_InsertItem
//
//	Arguments:	
//	al_parent	The handle to the Treeview item to place retrieved data under
//	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 treeview, or
//						another maintained by the user.  If the latter, the row will be added
//						to the treeviews DataStore. 
//	al_Row		The row in the DataStore pointing to the data.
//	atvi_item	The Item to be added to the treeview
//	as_Position	The position under the parent where the new item will be inserted:
//						"First" - before the first child of the parent 
//						"Last" - after the last child (default)
//						"Sort" - in the sorted position based on the item's label
//						"After" - after the item with handle al_handle
//	al_handle	The handle to the item after which the new item will be inserted.
//						Ignored unless as_Position = "After".
//
//	Returns:		long
//					 handle of item added successfully  
//					-1 = an error occurred
//
//	Description:	Set the item attributes and place into the treeview.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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 of_insertitem(al_parent, ads_source, al_row, atvi_item, as_position, al_handle)
end event

     
Name Owner
pfc_u_tvs.pfc_insertitem pfc_u_tvs

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_insertitem pfc_n_cst_tvsrv_levelsource

     
Full name
No Data

     
Name Scope
No Data