|
-
February 1st, 2000, 06:35 AM
#1
Blinking label
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, 10:15 AM
#2
Re: Blinking label
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|