Results 1 to 2 of 2

Thread: How can I reduce text flicker?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Location
    Phoenix
    Posts
    87

    Unhappy

    I've got a loop that reads in lines of text from a text file and parses it to store the info in an Oracle database. In the loop, I have a small calculation that determines the percent complete and updates

    * a progress bar
    * a label

    my problem is the label flickers like crazy since its going through the loop so fast, and i think it looks unprofessional.

    How can I eliminate that flicker?

    Many thanks

  2. #2
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    reduce the 'update speed' of your progressbar and label.
    Following reduces it by '100'

    Use a counter:
    dim lCount as integer

    If lCount Mod 100 = 0 Then
    lCount = 1
    'update label and progressbar
    Else
    lCount = lCount + 1
    End If

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