ISComboBox.TextValue

Description

The current text of the specified combo box.

Syntax

object.TextValue

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

Return Value

string

Example

Display some information about the specified combo box, including its current text.

Dim aComboBox
Dim aComboBoxInfo

Set aComboBox = Form.Controls_("cmbInform")

aComboBoxInfo =_
  "Caption: " & aComboBox.Caption & vbNewLine &_ 
  "Type Name: " & aComboBox.TypeName & vbNewLine &_
  "Short Name: " & aComboBox.ShortName & vbNewLine &_ 
  "Text Value: " & aComboBox.TextValue               
  
Profile.MsgBox(aComboBoxInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Text Value can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the combo box in the controls tree > Text.

Version information

Added in v7.8.0