General information
Category:
Object Oriented Programming
Title:
Comboxes and numbers
Hi friends:
I don't use comboxes because they never do what I want them to do.
But now I've got a case that asks for a combobox
A client of mine needs to chose among two or more prices and eventually he wants to input a new value.
I can solve this showing somewhere every price and setting highest one by default...
But I think it's smarter using my hated comboxes...
If he choses among prices no problem but if he wants to input apparently combobox takes numbers as text and ignores inputmask formatting numbers bad.
For example 12.91 is shown as 12.91. (input mask is 99999.99)
If I want to input a number K format is ignored and 1312.91 remains (if I type "13" and enter)
Any idea?
Thank you.
Héctor
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only