Computer Science Canada User input in Font.Draw |
Author: | neufelni [ Mon Jun 06, 2005 11:07 am ] | ||
Post subject: | User input in Font.Draw | ||
I need help with this. Almost everything is working but the backspace isn't working quite properly. I can backspace it but it still puts the deleted letters later when the full name is displayed. It only deletes the last letter entered. Can any one help?
|
Author: | StarGateSG-1 [ Mon Jun 06, 2005 11:23 am ] |
Post subject: | |
After you back space you aren't getting rid of the letter you are just hiding it, I think that is the problem that code is insane though. It need to be fixed up why not just of name = 'anything else' and when people enter there ame they aren't going to use like alt |
Author: | fehrge [ Mon Jun 06, 2005 4:39 pm ] |
Post subject: | |
The only reason that it deletes the last letter is that you have not added it to the fullname variable. |
Author: | Cervantes [ Mon Jun 06, 2005 4:50 pm ] | ||
Post subject: | |||
You're making this harder than it needs to be:
If you don't know about index(), go check the tutorial section for a tut called Index by AsianSensation. There's also a link in the walkthrough. |