ISRadioButton.Font

Description

The font of the specified radio button.

Syntax

object.Font

Part Attribute Type Description
object Required
The object always implements the ISRadioButton interface

Return Value

StdFont

Example

Display some information about the specified radio button, including its font name and font size.

Dim aRadioButton
Dim aControlInfo

Set aRadioButton = Form.Controls_("rbCaseOne")
set aFont = aRadioButton.Font 

aControlInfo =_
  "Caption: " & aRadioButton.Caption & vbNewLine &_ 
  "ShortName: " & aRadioButton.ShortName & vbNewLine &_
  "TypeName: " & aRadioButton.TypeName & vbNewLine &_
  "Font Name: " & aFont.Name & vbNewLine &_
  "Font Size: " & aFont.Size               
  
Profile.MsgBox(aControlInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Font can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the radio button in the controls tree > Fon.

Version information

Added in v7.8.0