Blinking in VB 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bremanand
    New Member
    • Jul 2006
    • 29

    Blinking in VB 6.0

    Hi i need to blink the lable in my project...Plz get me the solution soon..
    Regards,
    Bremanand.S
  • Hemant Pathak
    Recognized Expert New Member
    • Jul 2006
    • 92

    #2
    Hi u can use this code of Blinking Label
    dim i as integer
    Private sub Timer1_Timer()
    if i<16 then i=0
    Label1.forcolor =i
    i=i+1
    end Sub

    Comment

    • candice
      New Member
      • Jul 2006
      • 11

      #3
      Hi Bremanand,
      i think u can try this method
      ' set timer1 interval as 1000
      Private Sub Timer1_Timer()
      Label1.Visible = Not Label1.Visible
      End Sub

      this is the sample way to help u settle that problem. Fast and easy .
      Hope can help u . Good luck

      Comment

      • KeitoChan
        New Member
        • Mar 2007
        • 1

        #4
        Is there any simple way of explaining that. I'm a highschool student taking a a class, having a problem finding a way to make it blink. Sorry for the issue.^^;

        Comment

        Working...