Returns or sets the facename used in the font.
Object.Name [ = sName ]
The Name property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AFont |
AFont object |
|
sName |
BString |
A string specifying the facename of the font, for example, Times New Roman. |
The following statement changes the font of the caption property of a button object to be Arial:
btn1.font.Name="Arial"
The following statement changes the font of a declared variable m_font1 of type font to be Courier:
m_font1.Name="Courier"
Bold, Charset, Italic, Size, Strikethrough, Underline, Weight