AdvancedHMI Software

General Category => Open Discussion => Topic started by: Holmux on March 22, 2020, 06:33:27 AM

Title: Add functions to existing buttons
Post by: Holmux on March 22, 2020, 06:33:27 AM
Hi
I hope everyone is safe and in good health.

I hope I can get a little help with a task
I generate a array of basic buttons on a page, when one of the buttons is pushed first time I set an "X" into the text, if the same button is pushed again I highlight it, and if pushed again I clear both.
I am using the valueToWrite option, which simplifies my PLC code, using this value as a pointer speeds up my reaction time, Everything is working great :)

But now my customer would like a third option, like first push "X", second push "Orange", third push "Red", fourth push clear the button, I was thinking Basic Indicator would do the job, but  am missing the ValueToWrite option, would that be possible to add to the basic indicator ?
Or is there a different option i can use ?

/Holmux
Title: Re: Add functions to existing buttons
Post by: Godra on March 22, 2020, 06:21:56 PM
Try using the attached modified BasicIndicator control.

Title: Re: Add functions to existing buttons
Post by: Holmux on March 23, 2020, 07:01:08 PM
Hi Godra

Thanks, just what I was looking for :)

Regards
/Holmux