I'm writing an app where the user types a number and the program prints it out in words. Both the number and the words are then used to populate a form. Supposing the user types 123456, it would be one hundred and twenty three thousand four hundred and fifty six.
The problem is that the form only has 48 characters for the amount so the text would stop at four hund. What I'd like to do is display this in a text box that is 24 characters wide and highlight the first two lines in a different colour so the user has an idea of what will be printed and can adjust it accordingly.
That was one idea. Another one would be to only display the first 48 and let the user adjust what is there. I'm in two minds about this one.
Any suggestions on how I should proceed or how I can colour half a text box?
The problem is that the form only has 48 characters for the amount so the text would stop at four hund. What I'd like to do is display this in a text box that is 24 characters wide and highlight the first two lines in a different colour so the user has an idea of what will be printed and can adjust it accordingly.
That was one idea. Another one would be to only display the first 48 and let the user adjust what is there. I'm in two minds about this one.
Any suggestions on how I should proceed or how I can colour half a text box?