Change text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David5534
    New Member
    • Feb 2008
    • 1

    Change text

    I'm making a program that changes an every day sentence into a random set of numbers and letters and then back to the same sentence. Could someone tell me how to make it when a key is pressed the text box displays a differnt character?
  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    Well, all characters are represented as numbers in the computer. So you might be able to, say, add or subtract a certain value to every character, thus producing a new character.

    Comment

    • Studlyami
      Recognized Expert Contributor
      • Sep 2007
      • 464

      #3
      You said textbox so I'm assuming your talking about some type of a windows program. Do you want it to immediately show the different character as the user is typing (EX: the user hits the 'p' on the keyboard but the text box shows 234) or do you want them to type a sentence or two and then have them press a button to switch between the two sentances?

      Comment

      Working...