Click to See Complete Forum and Search --> : Blinking label


February 1st, 2000, 05:35 AM
I have a label in my form, which I change the color modifying its fontcolor property every second with a timer control.
The problem is that the label blinks.

Is there any way of avoiding this to happen??

Thank you.

Nauj

February 1st, 2000, 09:15 AM
I didn't find FontColor property for the Label in VB6. If you are talking about ForeColor property, try to run your project on different machine. Maybe you have some problem with video memory or video adapter settings. On my machine

private Sub Timer1_Timer()
If Label1.ForeColor = &HFF& then
Label1.ForeColor = &HFF00&
else
Label1.ForeColor = &HFF&
End If
End Sub



works fine.
Vlad