PG2 Write value to integer (expression variable)
Is it possible to write to a expression variable (integer or Boolen) from a button.
It seems that Buttons and input Items can only write to propertyRef. I have no propertyRef and need this variable only on the screen.
Also not working is my workaround: the expression varible is from type propertyRef and a try to read #value from this propertyRef
Use an "Item Hosted Input Item" to write to an Expression Variable
- Add a "Text" Graphic Primitive to the display
- Add an Item Hosted Bool Dew to the Text Element
- Connect the Bool Dew to the Expression Variable
- Configure the Text Element Background Colours and texts to behave like a push button
For integer values use "Integer dew", real values "real dew" etc. Configure the Text element to show the data as required.