ISCheckBox.AllowGrayed

Description

This property is True if the specified checkbox works in 3-state mode.

Syntax

object.AllowGrayed

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

Return Value

bool

Example

Display AllowGrayed for the specified checkbox.

Dim aCheckBox
Dim aControlInfo

set aCheckBox = Form.Controls_("chkMV")

aControlInfo =_
  "Caption: " & aCheckBox.Caption & vbNewLine &_ 
  "Allow Grayed: " & aCheckBox.AllowGrayed                
  
Profile.MsgBox(aControlInfo)    
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Allow Grayed can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the checkbox in the controls tree > AllowGrayed.

Version information

Added in v7.8.0