943,965 Members | Top Members by Rank

Ad:
Jun 2nd, 2007
0

Timed Blinking label caption

Expand Post »
I'm working on the game of Concentration. When you match 2 squares I want to blink a label caption "MATCH" say 3 or 4 times then hide it. The problem is I want the program to stop until the blinking ends then continue. I use a timer to make the caption blink but am not sure how to stop the program until the blinking is done. Any help would be appreciated!

john
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
johntech is offline Offline
9 posts
since Jun 2007
Jun 3rd, 2007
0

Re: Timed Blinking label caption

u can show the blinking label in a separate form. when users match the squares disable current form(me.enable=false) and then display the form with blinking label in vbmodal mode(form2.show vbmodal).after the specified time of blinking disable the timer(timer1.interval=0),close the form(unload me) and enable the game form(form1.enable=true).
Reputation Points: 30
Solved Threads: 49
Posting Pro
choudhuryshouvi is offline Offline
553 posts
since May 2007
Jun 3rd, 2007
0

Re: Timed Blinking label caption

u can show the blinking label in a separate form. when users match the squares disable current form(me.enable=false) and then display the form with blinking label in vbmodal mode(form2.show vbmodal).after the specified time of blinking disable the timer(timer1.interval=0),close the form(unload me) and enable the game form(form1.enable=true).
So what you are saying is there is no way to blink a lable on the form that is showing, say for 3 to 5 seconds, then hide the lable and continue with the program.

Hmmm....I'll have to do a little more searching on this one.

Thanks for the reply

John
Reputation Points: 10
Solved Threads: 0
Newbie Poster
johntech is offline Offline
9 posts
since Jun 2007
Jun 3rd, 2007
0

Re: Timed Blinking label caption

I found the answer I was looking for in a post by sendoshin titled Problem with timer(urgent). Here he discusses several VERY GOOD ways to use the timer in VB
Reputation Points: 10
Solved Threads: 0
Newbie Poster
johntech is offline Offline
9 posts
since Jun 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Can anyone help me, please?
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: NEED Visual Basic tutorials





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC