I have the following code:
.cboBox1.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox2.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox6.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox1.Select edIndex = 0
.cboBox2.Select edIndex = 1
.cboBox6.Select edIndex = 2
When this form opens, A, B, and C are all highlighted in their respective
controls. I have tried the following ways to unhighlight the text but
without success.
.cboBox6.Select ionLength = 0
.cboBox6.Select (0, 0)
.cboBox1.Focus( )
Is there a way to unhighlight the text in the comboboxes that do not have
focus?
.cboBox1.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox2.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox6.Items. AddRange(New Object() {"A", "B", "C"})
.cboBox1.Select edIndex = 0
.cboBox2.Select edIndex = 1
.cboBox6.Select edIndex = 2
When this form opens, A, B, and C are all highlighted in their respective
controls. I have tried the following ways to unhighlight the text but
without success.
.cboBox6.Select ionLength = 0
.cboBox6.Select (0, 0)
.cboBox1.Focus( )
Is there a way to unhighlight the text in the comboboxes that do not have
focus?
Comment