I
ian_jacobsen
I have a ComboBox that contains values 0, 50, 100, 150, 200, 250, 300,
350, 400, 450, 500. Let's say the user types in a value of 425, and
then clicks the drop down list. When the list drops down, the first
item in the list is 0. How can I set the first item in the list to the
nearest value, say 400, while retaining the value 425 in the Text
property? I know that this is done in Outlook (on the Time fields when
adding a new appointment to the calendar), so one should be able to do
this with a standard ComboBox control.
350, 400, 450, 500. Let's say the user types in a value of 425, and
then clicks the drop down list. When the list drops down, the first
item in the list is 0. How can I set the first item in the list to the
nearest value, say 400, while retaining the value 425 in the Text
property? I know that this is done in Outlook (on the Time fields when
adding a new appointment to the calendar), so one should be able to do
this with a standard ComboBox control.