PDA

View Full Version : Colouring Label


Jordanfernando
08-28-2008, 08:25 AM
Hi... good guys
How can make the label is coloured for the exact period ?
for example : there are three words : Apple, Grape, Banana
how can the word "Apple" is coloured (changed from black to red) in 3 second and after 3 second the word "Grape" will be coloured by red and after 3 second again the "Banana" will coloured by red. please help me !

thank you very much

ShadowUK
08-28-2008, 10:00 AM
Look up in the manual the following.

Label.SetProperties
Application.Sleep

and I think it's Math.RGBtoHex or something.

Ulrich
08-28-2008, 11:01 AM
Application.Sleep freezes the application while it is waiting for the time to pass, not responding to any user input during this time. This is probably not what you want.

I would recommend that you set and use a timer for this, like in the example attached below.

Ulrich

Jordanfernando
08-29-2008, 05:13 AM
Dear Upeter

I tried your sample of your apz. and it works.
thank you very much for your help.