ButtonEx ActiveX Control Reference

FontName property

         

Return or set the Name of the Font used to draw on the control. (example: "Times New Roman")

Property type

A String value.

Syntax

object.FontName [= string]

The FontName property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type ButtonEx.
stringA String value.

Remarks

The default for this property is determined by the system. Font-related properties can be set only to values for which fonts exist.

In general, you should change FontName before setting size and style attributes with the FontSize, FontBold, FontItalic, FontStrikethru, and FontUnderline properties.

Problems, Suggestions, Praise concerning the documentation? Please send feedback.