Hi I have a problem where the .text value of a combo box will not change unless the item is selected from the list.
The combo box is of type dropdown. Ideally I'd like to select the item in the list as the user enters the string in the combo box. I can't make the combo box a dropdownlist as this only positions on the first keypress.
Almost all values start with an X e.g. XFRA, XLON, XPAR. They are exchange MIC codes.
When I debug the
Private Sub exchangeCombo_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles exchangeCombo.TextChanged
Try
exchangeCombo.SelectedValue = exchangeCombo.Text
the value of exchangeCombo.Textholds the old value.
Looking at the object I see the new value in
exchangeCombo
AccessibilityObject {system.windows.forms.control.controlaccessibleobject}
Value
How do I get at theis value ?
WP
The combo box is of type dropdown. Ideally I'd like to select the item in the list as the user enters the string in the combo box. I can't make the combo box a dropdownlist as this only positions on the first keypress.
Almost all values start with an X e.g. XFRA, XLON, XPAR. They are exchange MIC codes.
When I debug the
Private Sub exchangeCombo_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles exchangeCombo.TextChanged
Try
exchangeCombo.SelectedValue = exchangeCombo.Text
the value of exchangeCombo.Textholds the old value.
Looking at the object I see the new value in
exchangeCombo
AccessibilityObject {system.windows.forms.control.controlaccessibleobject}
Value
How do I get at theis value ?
WP