VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Line visiblity it is very simple code show how to use object visblity property and timer

by Binson007 (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 31st December 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Line visiblity it is very simple code show how to use object visblity property and timer

API Declarations


just insert 4 lines and one time and line boarder style =2(dashed)

Rate Line visiblity it is very simple code show how to use object visblity property and timer



Private Sub Form_Load()
Line1.Visible = False
Line2.Visible = True
Line4.Visible = False
Line3.Visible = False

End Sub

Private Sub Timer1_Timer()
If Line2.Visible = True Then
Line2.Visible = False
Line1.Visible = True
Line4.Visible = False
Line3.Visible = False
Else
If Line1.Visible = True Then
Line2.Visible = False
Line1.Visible = False
Line4.Visible = True
Line3.Visible = False
Else
If Line4.Visible = True Then
Line2.Visible = False
Line1.Visible = False
Line4.Visible = False
Line3.Visible = True
Else
  If Line3.Visible = True Then
  Line2.Visible = True
Line1.Visible = False
Line4.Visible = False
Line3.Visible = False
End If
End If
End If
End If

End Sub


Download this snippet    Add to My Saved Code

Line visiblity it is very simple code show how to use object visblity property and timer Comments

No comments have been posted about Line visiblity it is very simple code show how to use object visblity property and timer. Why not be the first to post a comment about Line visiblity it is very simple code show how to use object visblity property and timer.

Post your comment

Subject:
Message:
0/1000 characters