{"id":65558,"date":"2026-11-25T19:15:50","date_gmt":"2026-11-25T18:15:50","guid":{"rendered":"https:\/\/amit-automation.cz\/podpora\/casto-kladene-otazky\/amit-designer-napoveda\/on-touch-in-views\/"},"modified":"2026-11-25T19:15:50","modified_gmt":"2026-11-25T18:15:50","slug":"on-touch-in-views","status":"publish","type":"napoveda","link":"https:\/\/amit-automation.cz\/en\/support\/faq\/amit-designer-help\/on-touch-in-views\/","title":{"rendered":"On touch in views"},"content":{"rendered":"<p style=\"text-align: justify;\">To use an On Touch event on elements in View, please select the element you want to use as your On Touch trigger. Then navigate to Properties -&gt; Commands. Now click on the On Touch \u201c\u2026\u201d button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.1.1.jpg\" alt=\"20.1.1\" width=\"500\" height=\"361\" \/><\/p>\n<p style=\"text-align: justify;\">You will be presented with a new dialog window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.1.2.jpg\" alt=\"20.1.2\" width=\"600\" height=\"235\" \/><\/p>\n<p style=\"text-align: justify;\">In this dialog, you can add multiple graphical objects and change their properties. To do so, click on the \u201c<strong>+ Add<\/strong>\u201d button. A new entry will be created. Please now look at the Settings section on the right side of the dialog:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.1.3.jpg\" alt=\"20.1.3\" width=\"300\" height=\"229\" \/><\/p>\n<p style=\"text-align: justify;\">The first option is the \u201cTarget ID\u201d. The target ID specifies which graphical object you wish to apply settings to during the touch event. If you want to apply settings to the same element as your graphical object, please leave the option <strong>This Element<\/strong>.<\/p>\n<p style=\"text-align: justify;\">Next, parameters control visibility, Fill, and Stroke color of the given object.<\/p>\n<p style=\"text-align: justify;\">As you can see, you can create a simple scenario like changing the fill color of an object during a touch event, or you can create a complex scenario involving multiple different objects.<\/p>\n","protected":false},"menu_order":106,"template":"","class_list":["post-65558","napoveda","type-napoveda","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda"}],"about":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/types\/napoveda"}],"version-history":[{"count":0,"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65558\/revisions"}],"wp:attachment":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/media?parent=65558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}