mySCADA
myDESIGNER › myDESIGNER › Miscellaneous

On touch example

The following Example will show you how to create a button component with an On Touch action. 1. Create a new component and enter edit mode. If you don’t know how to create components, please read the section Components 2. Now create a rectangle and put the text “Press me” over it. 20.3.1 3. Select the rectangle and click on Properties -> Commands -> On Touch 20.3.2 4. Check the “Fill” check box and select a fill color 20.3.3 5. Now place your component into the view 20.3.4

When a user presses the button, its color will change to green

20.3.5

When the user releases the button, the color will return back to normal.

20.3.6