Blinking

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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%.
 
Back
Top