Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

numedit

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

0 Kudos
Message 1 of 4
(5,550 Views)

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.

Jared A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(5,543 Views)

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

0 Kudos
Message 3 of 4
(5,539 Views)

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.

Jared A.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(5,536 Views)