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(long,boolean)

Name Datatype
No Data

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

public function integer of_printtree (long al_handle, boolean ab_canceldialog);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_PrintTree
//
//	Access:  public
//
//	Arguments:
//	al_Handle					The handle of the TreeView item to start building the tree.  Pass 0
//									to print the entire tree.
//  ab_CancelDialog			True - display the Cancel Printing dialog,
//									False - do not display the dialog.
//
//	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 when the same picture is desired for all levels of the tree.
//
//						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(al_Handle, ab_CancelDialog, "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