Pro-Gramer (Customer) asked a question.

My Combobox/Dropdown workaround

Hello,

 

For my HMI application, I really needed a ComboBox / Dropdown to let the user select from a list of predefined items. Since this feature does not exist in the HMI, I searched this forum and came across Garry's solution.

But it that was not exactly what I wanted.

 

So here's my version/workaround of the drop-down/Combobox:

imageThe user will press on the rounded button in the Edit column and the button will advance through the choices.

 

How it's done is through trickery:

imageAn Increment/Decrement button is hidden behind a Multi-state text indicator.

Each time the button is pressed, the text will change. It will also go back to the first text, thanks to the roll-over capability of the button.

The end result: The value of the tag ParamEdit1 will contain a value from 0 to 4 (in this example).

 

In my application, I show an orange rectangle beside the button to show this value is different than the actual value in the PLC. The user need to press a Save/write button to accept the change.

 

So this is my contribution to this forum as a thanks for all the answers to my questions.

Of course the C-More HMI software would greatly benefit from having this feature built-in ;)


Garry and ADC Community_02 like this.