06-16-2011 12:01 PM
Hello ,
I want to blink a text in White with background in Black.
I use Property Node but a always have a Red Color when blinking ,why ??
regard
mike
06-16-2011 12:03 PM
Do you only want the text to blink?
06-16-2011 12:03 PM
Unfortunately the blink background is a fixed Environment option in LV. You'll have to roll your own.
06-16-2011 12:15 PM
yes only the text blinking.
06-16-2011 12:20 PM - edited 06-16-2011 12:22 PM
@Darin.K wrote:
Unfortunately the blink background is a fixed Environment option in LV. You'll have to roll your own.
Actually tou can change it Options > Environmet > Blink foreground and blink background BUT it only applies to new vi's. You can't change it after the vi is first opened and you can really mess with co-developers heads by using a non-default setting.:womanmad:
You can access the controls property text>colors and use a loop to get a pseudo blink effect.
06-16-2011 12:24 PM
Here is how I would do it. You will have to make it fit your code. I would probably put it outside of the main loop and use events to tell it when to blink. You could use a reference to the control that you want to blink. It reall depends on how your program works and what is easier for you.
06-16-2011 02:48 PM
06-17-2011 06:41 AM
Then you should make it as the solution so that everyone knows that your problem is solved.
06-20-2011 02:53 PM
With this you can cause any property to 'blink' between any two values.