of_printtree


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_print   >   of_printtree   

Full name pfc_n_cst_tvsrv_print.of_printtree
Access public
Extend of integer
Return value integer
Prototype public function integer of_printtree(long,boolean,string,string)

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, string as_pictname, string as_selpictname);//////////////////////////////////////////////////////////////////////////////
//
//	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.
//	as_PictName			The file name to display as the picture.
//	as_SelPictName		The file name to display as the selected picture.
//
//	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.
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

String	ls_Picts[10], ls_SelPicts[10]

Return of_PrintTree(al_Handle, ab_CancelDialog, as_PictName, as_SelPictName, ls_Picts, ls_SelPicts)

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_tvsrv_print.of_printtree pfc_n_cst_tvsrv_print

     
Full name
No Data

     
Name Scope
No Data