Results 1 to 15 of 15

Thread: timer and capture the letter [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    20

    timer and capture the letter [RESOLVED]

    hi all
    i need help regarding the timer and capture the letter and display it.how do i blink the letter for like 5sec and go to the next letter and if needed capture it on to the label.
    example :
    the letter "A" blink for 5 sec then "B" start to blink if the letter is needed it will be capture on to the label.

    VB Code:
    1. Private Sub Form_Load()
    2.    ' Start the timer.
    3.    Timer1.Interval = 500
    4.    Timer1.Enabled = True
    5. End Sub
    6.  
    7. Private Sub Timer1_Timer()
    8. dim i as integer
    9.  
    10. For i = 0 To 0
    11. ' Toggle the color of the letter "A"
    12.     If Label1.ForeColor = vbRed Then
    13.         Label1.ForeColor = vbBlack
    14.     Else
    15.        Label1.ForeColor = vbRed
    16.     End If
    17.  Next i
    18. End Sub
    Attached Images Attached Images  
    Last edited by surface; Jun 30th, 2005 at 03:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width