AdvancedHMI Software

General Category => Feature Request => Topic started by: bachphi on February 24, 2019, 01:37:50 PM

Title: BasicButton with ImageON and ImageOFF
Post by: bachphi on February 24, 2019, 01:37:50 PM
Currently, in order to show ImageON & OFF with BasicButton, some coding will be required presumably.
But if there's a large number of buttons, then coding can become messy. Yes, one can combine all button click type events into one routine, but things get more complicated with using different color like ImageGreenON or ImageRedOFF or ImageYellowON or ImageBlueOFF and etc ...

Any ideas? Thanks.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Archie on February 24, 2019, 01:57:45 PM
What about the GraphicIndicator? It functions as a button and can use On/Off images to display current state.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: bachphi on February 24, 2019, 04:04:19 PM
Graphic Indicator can switch images, but the Text need to be Multi-line, TextAlign, as well TextAlternate to switch OFF/ON or START/STARTED.  I think, its Text2 can be eliminated.

Thanks.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Phrog30 on February 24, 2019, 04:31:12 PM
My basic button has images for states. Look at the last project I linked.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: bachphi on February 24, 2019, 06:01:06 PM
What link?
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Archie on February 24, 2019, 06:17:31 PM
I think, its Text2 can be eliminated.
The reason for Text2 is to have the option of showing a PLC value along with the static Text.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Phrog30 on February 24, 2019, 06:24:21 PM
What link?
I didn't give a link, I figured you could search,
https://www.advancedhmi.com/forum/index.php?topic=2323.msg13814#msg13814
Title: Re: BasicButton with ImageON and ImageOFF
Post by: bachphi on February 24, 2019, 09:06:00 PM
Is this Archie's approved ? :-)

Btw, It's one hell of a control, down to every details like from FTV. I'd thought you dislike Rockwell so much?

Thanks.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Archie on February 24, 2019, 09:18:26 PM
Is this Archie's approved ? :-)
I back and approve any and all contributions. We're all in this together with the same objective. As time permits I try to review all contributions for consideration to be incorporated into the base package.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Phrog30 on February 25, 2019, 06:18:51 AM
Is this Archie's approved ? :-)

Btw, It's one hell of a control, down to every details like from FTV. I'd thought you dislike Rockwell so much?

Thanks.
I dislike Rockwell HMIs due to price, performance, and overall functionality. I did mimic their stuff, but it's free, works pretty darn good, and if I don't like something or need to make modifications I can. So, to me that's more bueno.

If you find any issues let me know.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: bachphi on March 19, 2019, 12:40:38 PM
I am using v399yBeta28 and Basicbutton ( No Image )

With PLCAddressClick & PLCAddressSelectTextAlternate , I can switch between Text & TextAlternate

With PLCAddressClick & PLCAddressHighLightX, I can switch between default color  &  HighLightColor

But with PLCAddressClick & PLCAddressHighLightX & PLCAddressSelectTextAlternate  , it switches color but not the text.
Title: Re: BasicButton with ImageON and ImageOFF
Post by: Archie on March 19, 2019, 01:19:38 PM
I am using v399yBeta28 and Basicbutton ( No Image )

With PLCAddressClick & PLCAddressSelectTextAlternate , I can switch between Text & TextAlternate

With PLCAddressClick & PLCAddressHighLightX, I can switch between default color  &  HighLightColor

But with PLCAddressClick & PLCAddressHighLightX & PLCAddressSelectTextAlternate  , it switches color but not the text.
This will be fixed shortly in Beta 29