of_getdatastring


pfcapsrv.pbl   >   pfc_n_cst_tvsrv   >   of_getdatastring   

Full name pfc_n_cst_tvsrv.of_getdatastring
Access public
Extend of string
Return value string
Prototype public function string of_getdatastring(long)

Name Datatype
No Data

Name Datatype
ltvi_item treeviewitem

public function string of_getdatastring (long al_handle);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_GetDataString
//
//	Access:  		public
//
//	Arguments:		
//	al_handle		The handle for the item for which you want to retrieve information
//
//	Returns:  		string
//						string value if it succeeds and "" if an error occurs.
//
//	Description:  	Return the 'Data' element in string format
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

treeviewitem ltvi_item

If IsNull(al_handle) Or (al_handle < 0) Then
	Return ""
End If

if itv_requestor.GetItem ( al_handle, ltvi_item ) <> 1 then
	return ""
else
	return String ( ltvi_item.Data )
end if
end function

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_getdatarow pfc_n_cst_tvsrv_levelsource

     
Name Owner
treeview.getitem treeview
systemfunctions.isnull systemfunctions
systemfunctions.string systemfunctions

     
Full name
No Data

     
Name Scope
No Data