The property is accessible in the Object Inspector but has no effect for radio buttons.
object.Color
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRadioButton interface |
uint
Dim aRadioButton
Dim aControlInfo
Set aRadioButton = Form.Controls_("rbCaseOne")
aControlInfo =_
"Caption: " & aRadioButton.Caption & vbNewLine &_
"ShortName: " & aRadioButton.ShortName & vbNewLine &_
"TypeName: " & aRadioButton.TypeName & vbNewLine &_
"Color (BGR): #" & HEX(aRadioButton.Color)
Profile.MsgBox(aControlInfo)