of_printtree


pfcmain.pbl   >   pfc_u_tv   >   of_printtree   

Full name pfc_u_tv.of_printtree
Access public
Extend of integer
Return value integer
Prototype public function integer of_printtree()

Name Datatype
No Data

Name Datatype
ls_Picts String[10]
ls_SelPicts String[10]

public function integer of_printtree ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_PrintTree
//
//	Access:  public
//
//	Arguments:	None.
//
//	Returns:		Integer
//					1 if successful, -1 if an error occurrs.
//
//	Description:	Print the TreeView.  
//
//						This function overloads the real of_PrintTree which is protected.  Use this
//						format of the function to print the entire tree with the same picture for all 
//						levels.
//
//						This function will default to using "folder.bmp" for the picture and "foldopen.bmp"
//						for the selected picture.
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////

String	ls_Picts[10], ls_SelPicts[10]

Return of_PrintTree(0, False, "folder.bmp", "foldopen.bmp", ls_Picts, ls_SelPicts)

end function

     
Name Owner
No Data

     
Name Owner
pfc_u_tv.of_printtree pfc_u_tv

     
Full name
No Data

     
Name Scope
No Data