|
of_getdataany
|
|
Full name
|
pfc_n_cst_tvsrv.of_getdataany
|
Access
|
public
|
Extend of
|
any
|
Return value
|
any
|
Prototype
|
public function any of_getdataany(long)
|
Name
|
Datatype
|
ltvi_item
|
treeviewitem
|
public function any of_getdataany (long al_handle);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetDataAny
//
// Access: public
//
// Arguments:
// al_handle The handle for the item for which you want to retrieve information
//
// Returns: Any
// data value if it succeeds and -1 if an error occurs.
//
// Description: Return the 'Data' element in any 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 -1
End If
if itv_requestor.GetItem ( al_handle, ltvi_item ) <> 1 then
return -1
else
return ltvi_item.Data
end if
end function
Name
|
Owner
|
treeview.getitem |
treeview
|
systemfunctions.isnull |
systemfunctions
|