|
-
May 12th, 2007, 12:40 PM
#1
Thread Starter
New Member
Typing Game?
Hello. I am making a typing game for the final project of my short, highschool VB 6 course. I am looking for a way to have a string of letters displayed that the user needs to type in. I can make a string of random letters, but I don't want the user to type the letter in a seperate box. I want each character to change to a different color when the user types it in.
So, for a string "asdf",
typing "s" should do nothing
typing "a" should change "a" to green
then typing "s" should change "s" to green.
I also need the program to know when all the letters have been typed in correctly.
Thank you in advance!
-
May 12th, 2007, 01:01 PM
#2
Addicted Member
Re: Typing Game?
Is there anything in particular you need help with? We cannot do the entire project for you. Post what you have done so far.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 12th, 2007, 01:08 PM
#3
Thread Starter
New Member
Re: Typing Game?
I need to know how to code the way the user types in the text. I don't know how to make the letters change colors when typed. I don't even know were to begin with that. I can do the rest of the project.
-
May 12th, 2007, 01:34 PM
#4
Addicted Member
Re: Typing Game?
You will need to use the rich text box control to change the letters to different colours. Add it by going to Project-> components. Experiment with the rtb's properties see if you can get the letters to change colour.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 12th, 2007, 07:02 PM
#5
Re: Typing Game?
Yes look at using the RichTextBox Control Though you will need to make a function to automatically change the color of the text.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|