VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This is part of a idea i had is a program that displays a word and you have to type in the word tha

by Vivian Richards VB LABS www.vblabs.cjb.net (4 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 19th February 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This is part of a idea i had is a program that displays a word and you have to type in the word that appears on a label and another label

Rate This is part of a idea i had is a program that displays a word and you have to type in the word tha



'place on the form:
'a text box
'command button
'2labels

'click the buttons events and type in....


Private Sub Command1_CLick()
If Text1.Text = Label1.Caption Then
Label2.Caption = "Correct"
Else
Label2.Caption = Wrong"
End If
End Sub

'for label2 go to properties and for its caption type in a word
'click run
'type in the word that is displayed in label1 exact
'if it is correct label1's caption will say correct
'if its wrong label1's caption will say wrong

Download this snippet    Add to My Saved Code

This is part of a idea i had is a program that displays a word and you have to type in the word tha Comments

No comments have been posted about This is part of a idea i had is a program that displays a word and you have to type in the word tha. Why not be the first to post a comment about This is part of a idea i had is a program that displays a word and you have to type in the word tha.

Post your comment

Subject:
Message:
0/1000 characters