The font of the specified form.
object.Font
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
StdFont
Display some information about the specified form, including its font name and font size.
Dim aForm
Dim aFont
Dim aFormInfo
Set aForm = Profile.Form
set aFont = aForm.Font
aFont.Size = 10
aForm.FontColor = 255
aFormInfo =_
"ShortName: " & aForm.ShortName & vbNewLine &_
"TypeName: " & aForm.TypeName & vbNewLine &_
"Font Color: " & Hex(aForm.FontColor) & vbNewLine &_
"Font Name: " & aFont.Name & vbNewLine &_
"Font Size: " & aFont.Size
Profile.MsgBox(aFormInfo)
This property has an effect for some form child controls with ParentFont = True. In Profile Client v8 on User Interface Font cannot be found.