Blinking

G

Guest

hi there,
i have few labels in a panel control. Each label reprasents some
percentage value.
Say lbl1.text=12% ,lbl2.text=45%,lbl3.text=78% something like this.
i am getting this percentage value dynamically.

My question i need to highlite or make it blink when it got 100%. and i need
to draw an out line automatically for that perticular label which have text
vale 1005.

hope you got the query
 
M

Morten Wennevik

Hi Sreejith S S Nair,

If you need it to blink you probably need to use a timer, otherwise you can simply change it's backcolor when it reaches 100%.
For the outline, either use the form's paint event or the label's paint event and draw a box around the border. Or, if it doesn't already have a borderstyle, set it.

You can use the label's TextChanged event to detect the 100%.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top