07-22-2012 07:59 AM
Hi to all,
I would like to know if there is a possibility to use CNiNumEdit control, and to disable the "number" verification and to use
the control also to enter regular text.
I need this to enter for example serial numbers, which sometimes may be contained combination of digits and letters.
Many thanks,
Doron Bar
07-23-2012 11:08 AM
doronbar,
I believe what you are looking for is the TextBox control supplied by Microsoft. The Numeric Edit control is specifically for inputting numbers, not Serial Numbers, which are combinations of numbers and letters.
If the serial numbers are hexadecimal (use numbers 0-9 and letters A-F), then you could change the format of the numeric control to hexadecimal.
07-24-2012 12:06 AM
Dear Jared A,
Many thanks for your answer.
Indeed, Microsoft text box is functionality OK.
However, what about the great colors and effects of the NINumedit?
These effects are like gold to me....
If only I could disable the number validation after the user is entering the text, this would be great!
Is this possible?
Regards,
Doron
07-25-2012 11:55 AM
doronbar,
I'm sorry, but I don't believe this is possible, as the numeric validation is built in to the Numeric Edit control. It is not a user-configurable option.