AlarmViewer1.TogglePause();

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
jcjelektro
Posts: 40
Joined: Tue Nov 22, 2011 3:54 am
Location: Gjerlev, Denmark
Contact:

AlarmViewer1.TogglePause();

Post by jcjelektro »

Hello

I'm using the AlarmViewer1.TogglePause(); function, and i can get the function to work, but i can't see if the function is activated.
Is there a smart/simple solution for make a symbol visible, or change from a Play icon to a Pause icon?
--
Emil Gundersen
JCJelektro.dk

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: AlarmViewer1.TogglePause();

Post by mark.monroe »

You might want to use a multi-picture rather than a button. Then you could toggle a tag as well as the pause function. That tag could be associated with different pictures.

Code: Select all

AlarmViewer1.TogglePause();
Globals.Tags.Tag1.ToggleTag();
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply