05-20-2009 04:21 AM
Hi guys,
I have some data entry boxes in my GUI which I would like to control.
The data is entered in Hex format ie. Ox sits next to the text entry box and the user should enter a value between 00 and FF for one byte.
As soon as the user tries to enter R for example I would like for a warning sound to occur and for the R not to be accepted by the text entry box, I would also like to limit the size to one byte, ie someone can't enter FFF.
Any help greatly appreciated.
Eoin
Solved! Go to Solution.
05-20-2009 04:25 AM
Sorry I forgot to add one more question.
I would also like for the hex address to be incremented by 1 when the user touches the Up key and decremented when the Down key is pressed of course the user will have to click on this box beforehand.
05-20-2009 07:18 AM
Use a numeric control. Change the properties to:
Appearance: Show Radix
Datatype: U8
Display Format: Hexadecimal.
Lynn