|
-
Apr 3rd, 2011, 07:07 PM
#9
Re: HELP! Hangman Project Part 1
 Originally Posted by .paul.
in #10 you need to select a word from your list, then set lblWord.text = new string("?"c,[your word].length)
Let's actually see about that, shall we?
10. Add code to the btnNew_Click event procedure to:
•Display "??????? ?????" in lblWord.
HINT: Use the Text property.
•Set the value of the btnGuessL Enabled property to True, for example, btnGuessL.Enabled = True.
•Set the value of the Enabled property for btnGuessW and btnSolve to True.
Hmm, don't see anything about selecting from a list there...
The answer at this stage is hard-coded to be "BASSETT HOUND", as you can see from step 11. Someone else on these forums has been following these steps. Seeing these instructions makes certain things very clear.
This is probably the worst way to go about writing a Hangman program that I can think of.
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
|