Solved

Stop blinking on textbox or other refreshes

Posted on 2003-11-24
5
286 Views
Last Modified: 2012-05-04
i have a digital time clock that displays at the top of my screen and runs on top of all applications. i have noticed with this program and many others that when you refresh something on a regular time-base (every second)...it blinks every once in a while.

why does it blink sometimes and not all the time? is there anyway to stop it from blinking.

i have also made many progress bars by using a colored textbox lying within a picturebox. when the progress goes up, it blinks. this is just another example.

your help is appreciated...thanks,
jeremy
0
Comment
Question by:daleyjem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 

Accepted Solution

by:
SeeOne earned 30 total points
ID: 9815082
It sounds like you're referring to flicker.  When you have something that is constantly being updated, Windows has to constantly redraw the control with the new values.  Sometimes, depending on the power of your CPU, you see that drawing effect as it updates.

Depending on the control you use, there may be various ways to reduce the flicker, but usually, especially with constantly updated textboxes or labels, you will see that flicker every now and then no matter what.
0
 

Expert Comment

by:SeeOne
ID: 9815090
Forgot to mention, it really varies depending on your CPU power, the more powerful your computer is, and the more resources you have free, the less that flicker becomes evident.
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 20 total points
ID: 9816866
If you're not showing seconds, don't update it every second. Check whether the minute has changed & only update it when necessary.
0
 
LVL 4

Author Comment

by:daleyjem
ID: 10166996
the thing is, this clock needs to update every second because it is relevant to a computer timecard, and every second is important to an employee. i'll just split this one.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question