The aim of this article
- description how to use expression for changing content position dynamically
- The content will move based on the value selected in the dropdown box.
Source of information:
- Discussion at community, comment from @marcel.voigt https://community.br-automation.com/t/mappview-eventbinding-expression-variables/5492/2
- Conversational Help
Description:
-
- Content_1: Content is placed in ContentControl widget
-
- DrowDownBox_1: instance of DropDown widget with values
- left
- right
- top
- bottom
-
- btnDynamicMove: instance of Button widget
- click event is connected to action using evenbinding
- Operand drowDownBoxOperand is used to get selected value from DrowDownBox Widget
- inside of event binding ClientSystem.ScrollContent action is called and operand drowDownBoxOperand is forwarded as a expression value
Jaroslav