silogarrett Posted March 16, 2012 Share Posted March 16, 2012 Hi Guru! Can you give me a code example of how to use strBlink with a panel component? I can't seem to get the correct syntax. I'm using an if statement. Mike Link to comment Share on other sites More sharing options...
AzeoTech Posted March 17, 2012 Share Posted March 17, 2012 Panel component? It doesn't have a blink property. Maybe you are referring to a symbol component? Anyhow, for components that do have strBlink, its an expression, not script. That means you should enter in a formula that results in either 0 for no blinking, or non-zero for blinking. Basically what you would put in () in the if. So if you want it to blink if myChannel > 5, you'd put: myChannel[0] > 5 Link to comment Share on other sites More sharing options...
silogarrett Posted March 17, 2012 Author Share Posted March 17, 2012 No, I actually was trying to make a panel blink. That's ok, I can change its colors so it appears to blink. Thank you anyway! Mike Link to comment Share on other sites More sharing options...
AzeoTech Posted March 17, 2012 Share Posted March 17, 2012 You can make it blink using its Visible property and a sequence. For example: while(1) if (myChannel[0] > 5) component.mypanel.visible = !component.mypanel.visible else component.mypanel.visible = 1 endif delay(2) endwhile Link to comment Share on other sites More sharing options...
silogarrett Posted March 21, 2012 Author Share Posted March 21, 2012 Exactly what I was looking for. Thank you Guru! Great support! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.