ISCheckBox.Color

Description

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

Syntax

object.Color

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

Return Value

uint

Example

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

Version information

Added in v7.8.0