Results 1 to 3 of 3

Thread: Running dots

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Posts
    140

    Running dots

    Hi There,

    I have a label with a caption of " Loading...". Does anybody know how to make the dots(...) runs from left to right?

    Thanks

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Here's one way of doing it.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Open a new project, add a Timer and a Label and insert this code:

    Code:
    Private Sub Timer1_Timer()
    	 Static Count As Long
    	 
    	 'Increase count
    	 Count = Count + 1
    	 If Count > 3 Then: Count = 0
    	 
    	 'Apply text
    	 Label1.Caption = "Loading" & String(Count, ".")
    End Sub

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