of_SetFont


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_report   >   of_SetFont   

Full name pfc_n_cst_dwsrv_report.of_SetFont
Access public
Extend of string
Return value string
Prototype public function string of_SetFont(string,integer,fontfamily,fontpitch,boolean,boolean,boolean,string,string)

Name Datatype
No Data

Name Datatype
No Data

public function string of_SetFont (string as_fontface, integer ai_fontsize, fontfamily aff_fontfamily, fontpitch afp_fontpitch, boolean ab_bold, boolean ab_italic, boolean ab_underline, string as_name, string as_band);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetFont
//
//	Access:  public
//
//	Arguments:
//	as_FontFace				The font to use (i.e. "MS Sans Serif")
//	ai_FontSize				The point size of the font.
//	aff_FontFamily			The font family (AnyFont!, Roman!, Swiss!, Modern!, 
//									Script!, Decorative!)
//	afp_FontPitch				The pitch of the font (Default!, Fixed!, Variable!)
//	ab_Bold						True - Bold, False - Normal.
//	ab_Italic					True - Yes, False - No.
//	ab_Underline				True - Yes, False - No.
//	as_Name					The name of the object to change, "*" will cause all
//									objects in the band to be changed.
//	as_Band					The band in which to change the objecs, "*" will call
//									the entire datawindow to be changed.  This argument is
//									ignored if a name is passed in as_Name.
//
//	Returns:		String
//					The output of the Modify command (the error text or "") if True
//					was passed for ab_Execute; the text of the Modify command
//					to add the object if False was passed.
//
//	Description:	Change the font of an object in the datawindow.
//
//						This function overloads the real of_SetFont to allow parameters
//						to be optional.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

Return of_SetFont(as_FontFace, ai_FontSize, aff_FontFamily, afp_FontPitch, ab_Bold, ab_Italic, &
						ab_Underline, as_Name, as_Band, True)

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_dwsrv_report.of_SetFont pfc_n_cst_dwsrv_report

     
Full name
No Data

     
Name Scope
No Data