Click or drag to resize

Edit.Font Method (Typed)

X#
Change the current font of the text control.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Font(
	oNewFont,
	lRescal
) AS USUAL CLIPPER
Request Example View Source

Parameters

oNewFont (Optional)
Type: Usual
The font used to draw the text control.
lRescal (Optional)
Type: Usual
TRUE rescales the control according to the new font size. FALSE does not allow rescaling. If omitted, the default is FALSE.

Field Value

Type: Usual
The font used to draw the text in the control. This Access/Assign was called Font (without the underscore) in previous versions of X#. it has been renamed to avoid name collision with the TextControl:Font() method

Return Value

Type: Usual
The previous font used by the text control.
See Also