of_AddText


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_report   >   of_AddText   

Full name pfc_n_cst_dwsrv_report.of_AddText
Access public
Extend of string
Return value string
Prototype public function string of_AddText(string,string,integer,integer,border,boolean,boolean,boolean,string,integer,fontcharset)

Name Datatype
No Data

Name Datatype
lal_Null Alignment
lvta_Any VTextAlign

public function string of_AddText (string as_text, string as_band, integer ai_x, integer ai_y, border abo_border, boolean ab_bold, boolean ab_italic, boolean ab_underline, string as_fontface, integer ai_fontsize, fontcharset afc_charset);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_AddText
//
//	Access:  public
//
//	Arguments:
//	as_Text						The text to be added.
//	as_Band					The band to add it to.
//	ai_X							The X location of the object being placed.
//	ai_Y							The Y location of the object being placed.
//	abo_Border				The border to place around the object added (NoBorder!, 
//									ShadowBox!, Box!, ResizeBorder!, Underline!, Lowered!
//									Raised!).
//	ab_Bold						True - Bold, False - Normal.
//	ab_Italic					True - Yes, False - No.
//	ab_Underline				True - Yes, False - No.
//	as_FontFace				The font to use (i.e. "MS Sans Serif")
//	ai_FontSize				The point size of the font.
//	afc_CharSet				The character set to use (Ansi!, DefaultCharSet!, Symbol!, 
//									Shiftjis!, OEM!)
//
//	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:	Add a text object to any band of a datawindow.
//
//						This function overloads the real of_AddText, which is protected.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Alignment	lal_Null
VTextAlign	lvta_Any

SetNull(lal_Null)
Return of_AddText(as_Text, as_Band, lal_Null, lvta_Any, ai_X, ai_Y, abo_Border, ab_Bold, &
							ab_Italic, ab_Underline, as_FontFace, ai_FontSize, afc_CharSet, il_DefaultColor, &
							il_DefaultBackColor, True)

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.setnull systemfunctions
pfc_n_cst_dwsrv_report.of_AddText pfc_n_cst_dwsrv_report

     
Full name
No Data

     
Name Scope
No Data