The font of the specified button.
object.Font
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISButton interface |
StdFont
Display some information about the specified button, including its font name and font size.
Dim aButton
Dim aFont
Dim aControlInfo
Set aButton = Form.Controls_("btnDemo")
set aFont = aButton.Font
aControlInfo =_
"Caption: " & aButton.Caption & vbNewLine &_
"Tag: " & aButton.Tag & vbNewLine &_
"ShortName: " & aButton.ShortName & vbNewLine &_
"TypeName: " & aButton.TypeName & vbNewLine &_
"Is Visible: " & aButton.isVisible & vbNewLine &_
"Font Name: " & aFont.Name & vbNewLine &_
"Font Size: " & aFont.Size
Profile.MsgBox(aControlInfo)
In Profile Client v8 on User Interface Font can be found in
.