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,string[10],string[10])

Name Datatype
No Data

Name Datatype
ls_Pict String
ls_SelPict String

public function integer of_printtree (long al_handle, boolean ab_canceldialog, string as_levelpicts[10], string as_levelselpicts[10]);//////////////////////////////////////////////////////////////////////////////
//
//	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_LevelPicts[10]		The file names for all the pictures to display a different picture for
//									each level.
//   as_LevelSelPicts[10]	The file names for all the pictures to display a different selected
//									picture for each level.
//
//	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 a different picture is desired for each level of the tree.
//////////////////////////////////////////////////////////////////////////////
//
//	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_Pict, ls_SelPict

Return of_PrintTree(al_Handle, ab_CancelDialog, ls_Pict, ls_SelPict, as_LevelPicts, as_LevelSelPicts)

end function

     
Name Owner
No Data

     
Name Owner
pfc_u_tv.of_printtree pfc_u_tv

     
Full name
No Data

     
Name Scope
No Data