The case of the text in the specified combo box. The property is not accessible in the Object Inspector.
object.CharCase
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISComboBox interface |
Display some information about the specified combo box, including the case of the text in the combo box.
Dim aComboBox
Dim aComboBoxInfo
Set aComboBox = Form.Controls_("cmbInform")
aComboBoxInfo =_
"Caption: " & aComboBox.Caption & vbNewLine &_
"ShortName: " & aComboBox.ShortName & vbNewLine &_
"ComboBox Char Case: " & aComboBox.CharCase
Profile.MsgBox(aComboBoxInfo)