How to implement a blinking label on a form

2019-02-08 13:41发布

I have a form that displays queue of messages and number this messages can be changed. Really I want to blink label (queue length) when the number of messages were increased to improve form usability. Should I implement custom control and use additional thread or timer to change color of label? Has anybody implemented so functionality? What is the best solution (less resources and less performance degradation) to implement so behaviour?

SOLUTION:

Form's component with timer that can restrict number of animations per second and implement fade out effect to external control background color.

7条回答
我想做一个坏孩纸
2楼-- · 2019-02-08 14:06

Can you use an animated .gif instead (perhaps as the background of the number)? it would make it look like old school web pages, but it might work.

查看更多
登录 后发表回答