pfc_renameitem


pfcmain.pbl   >   pfc_u_tvs   >   pfc_renameitem   

Full name pfc_u_tvs.pfc_renameitem
Access public
Extend of integer
Return value integer
Prototype event integer pfc_renameitem()

Name Datatype
No Data

Name Datatype
ll_handle long

event pfc_renameitem;//////////////////////////////////////////////////////////////////////////////
//
//	Event:		pfc_RenameItem
//
//	Arguments:	None
//
//	Returns:		Integer
//					 1 = action taken
//					-1 = no action taken
//
//	Description:	Rename the selected item.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////
long	ll_handle

// if not able to edit then do not edit
if this.editlabels then
	ll_handle = this.FindItem(CurrentTreeItem!, 0)
	Return this.editlabel( ll_handle )
end if

Return -1
end event

     
Name Owner
No Data

     
Name Owner
treeview.editlabel treeview
treeview.finditem treeview

     
Full name
No Data

     
Name Scope
No Data