ISCheckBox.UncheckedValue

Description

The value that is saved in the linked to the checkbox HRI if the checkbox is unchecked.

Syntax

object.UncheckedValue

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

Return Value

string

Example

Display some information about the specified checkbox, including the value that is saved in the linked to the checkbox HRI if the checkbox is unchecked.

Dim aCheckBox
Dim aControlInfo

set aCheckBox = Form.Controls_("chkMV")

aControlInfo =_
  "Caption: " & aCheckBox.Caption & vbNewLine &_ 
  "Width: " & aCheckBox.Width & vbNewLine &_
  "Height: " & aCheckBox.Height & vbNewLine &_
  "Hint: " & aCheckBox.Hint & vbNewLine &_
  "Left: " & aCheckBox.Left & vbNewLine &_
  "Top: " & aCheckBox.Top & vbNewLine &_
  "Tag: " & aCheckBox.Tag & vbNewLine &_
  "ShortName: " & aCheckBox.ShortName & vbNewLine &_
  "Enabled: " & aCheckBox.Enabled & vbNewLine &_
  "TypeName: " & aCheckBox.TypeName & vbNewLine &_
  "Unchecked Value: " & aCheckBox.UncheckedValue               
  
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Unchecked Value 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 > UncheckedValue.

Version information

Added in v7.11.0