ISCheckBox.Empty

Description

This property is True if neither of the grouped checkboxes is ticked. The property is not accessible in the Object Inspector.

Syntax

object.Empty

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

Return Value

bool

Example

Display Empty for the specified checkbox.

Dim aControl
Dim aControlInfo

Set aControl = Form.Controls_("chkMetre1")

aControlInfo =_
  "Caption: " & aControl.Caption & vbNewLine &_ 
  "ShortName: " & aControl.ShortName & vbNewLine &_
  "Empty: " & aControl.Empty 
  
  
Set aControl = Form.Controls_("chkMetre2")

aControlInfo = aControlInfo & vbNewLine &_ 
  "Caption: " & aControl.Caption & vbNewLine &_ 
  "ShortName: " & aControl.ShortName & vbNewLine &_
  "Empty: " & aControl.Empty 
    
Profile.MsgBox(aControlInfo)  
Note: Several checkboxes should be linked to the same HRI. Their 'Grouped' and 'AllowEmpty' properties should be set as 'True'.

Version information

Added in v7.11.0