Hello,
Here is my scenario:
I have a bound textbox for user input. When the user enters a new value and the control loses focus, the new value in the textbox is compared to an array of values. If the new value is not in the array, a form with a listbox pops up. The listbox on this form is populated with the values in the array, the closest match to the new value is selected. If the closest value is near the bottom of the list, the value after it is obscured by the edge of the listbox window (since you would have to scroll down to see more). Does anyone know of a good way to move the selected item to the middle of the listbox window so the user can see the values on either side?
Thank you for any assistance.
Here is my scenario:
I have a bound textbox for user input. When the user enters a new value and the control loses focus, the new value in the textbox is compared to an array of values. If the new value is not in the array, a form with a listbox pops up. The listbox on this form is populated with the values in the array, the closest match to the new value is selected. If the closest value is near the bottom of the list, the value after it is obscured by the edge of the listbox window (since you would have to scroll down to see more). Does anyone know of a good way to move the selected item to the middle of the listbox window so the user can see the values on either side?
Thank you for any assistance.