Click or drag to resize

TextControl.Font Method

X#
Change the current font of the text control.
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

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
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