pfc_setitemattributes


pfcmain.pbl   >   pfc_u_lvs   >   pfc_setitemattributes   

Full name pfc_u_lvs.pfc_setitemattributes
Access public
Extend of integer
Return value integer
Prototype event integer pfc_setitemattributes(n_ds,long,ref listviewitem)

Name Datatype
No Data

Name Datatype
No Data

event pfc_setitemattributes;//////////////////////////////////////////////////////////////////////////////
//
//	Event:		pfc_SetItemAttributes
//
//	Arguments:	
//	ads_obj		Datastore holding Listview item information
//	al_row		Row in datastore pointing to Listview Item
//	alvi_item	Listview item about to be inserted.  
//						Passed by Reference
//
//	Returns:		Integer
//	 1 = Success
//	-1 = Failure 
//
//	Description:	Set the default attributes for the listview item.  
//
//		Note:		Extend this event to change item attributes before it is inserted 
//					into 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.
//
//////////////////////////////////////////////////////////////////////////////
If isvalid(inv_datasource) then
	Return inv_datasource.event pfc_SetItemAttributes(ads_obj, al_row, alvi_item)
End If

Return -1
end event

     
Name Owner
pfc_n_cst_lvsrv_datasource.pfc_refreshitem pfc_n_cst_lvsrv_datasource
pfc_u_lvs.pfc_insertitem pfc_u_lvs

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_lvsrv_datasource.pfc_setitemattributes pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data