ISRadioButton.Color

Description

The property is accessible in the Object Inspector but has no effect for radio buttons.

Syntax

object.Color

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

Return Value

uint

Example

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)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0