Click or drag to resize

StandardFontDialog.EnableEffects Method

X#
Allow the ability to change font effects, such as underline, strikethrough, and color.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD EnableEffects(
	bOnOff
) AS USUAL CLIPPER
Request Example View Source

Parameters

bOnOff (Optional)
Type: Usual
The logical value indicating whether font effects can be modified through the standard font dialog. TRUE is the default, if omitted or if the method is not called.

Return Value

Type: Usual
Remarks
When StandardFontDialog:EnableEffects() method is called, check boxes that allow the user to select the underline and strikethrough font attributes appear. The combo box to allow the user to select the color of the text is also enabled. The color that the user last selected is only evident after StandardFontDialog:EnableEffects(TRUE) is called.
See Also