S
slamb
I was hoping someone could describe how DomainUpDown control,
ReadOnly=true, is supposed to react to key input.
I'm using a DomainUpDown to contain a list of grades, A, B, C, D, F.
When the user enters a number via the keypad, the control selects a
grade, 1->A, 2->B, 3->C, 4->D, 6->F. This is not desirable. When the
user enters a number via the standard keys, the control doesn't select
a grade.
Any ideas why it is treating these types of input differently?
Is there anyway to turn off this behavior without having to derive from
DomainUpDown? If derivation is required, what exactly must be done?
Another option is to map certain numbers, i.e. numeric key input (both
key pad and normal number keys), to grades, this is useful in my
context because grades are also represented numerically, A=4, B=3, C=2,
D=1, F=0. What would be the best way to do this?
Thanks in advance.
ReadOnly=true, is supposed to react to key input.
I'm using a DomainUpDown to contain a list of grades, A, B, C, D, F.
When the user enters a number via the keypad, the control selects a
grade, 1->A, 2->B, 3->C, 4->D, 6->F. This is not desirable. When the
user enters a number via the standard keys, the control doesn't select
a grade.
Any ideas why it is treating these types of input differently?
Is there anyway to turn off this behavior without having to derive from
DomainUpDown? If derivation is required, what exactly must be done?
Another option is to map certain numbers, i.e. numeric key input (both
key pad and normal number keys), to grades, this is useful in my
context because grades are also represented numerically, A=4, B=3, C=2,
D=1, F=0. What would be the best way to do this?
Thanks in advance.