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