{"id":52814,"date":"2023-10-24T15:48:25","date_gmt":"2023-10-24T13:48:25","guid":{"rendered":"https:\/\/www.myscada.org\/?post_type=docs&#038;p=52814"},"modified":"2023-12-20T17:56:48","modified_gmt":"2023-12-20T15:56:48","password":"","slug":"lock-element","status":"publish","type":"docs","link":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/","title":{"rendered":"Lock element"},"content":{"rendered":"<p style=\"text-align: justify;\">Lock, if applied, can turn any element of your graphics into a lock key. You can use Lock to disable accidental write\/set commands from being executed. If enabled, the user must first press and hold the Lock element and then press the element with the set command.<\/p>\n<p style=\"text-align: justify;\">Lock element is not pressed = user cannot press the button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg\" alt=\"20.40.1\" width=\"250\" height=\"206\" \/><\/p>\n<p style=\"text-align: justify;\">Lock element is pressed = user can press the button<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.2.jpg\" alt=\"20.4.2\" width=\"250\" height=\"199\" \/><\/p>\n<p style=\"text-align: justify;\">If you want to apply this function, select the object you want to set as a lock, navigate to the <strong>Commands <\/strong>tab of the <em>Properties<\/em> window, and check the box in the <em>Lock<\/em> section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.3.jpg\" alt=\"20.4.3\" width=\"500\" height=\"308\" \/><\/p>\n<ul class=\"bullet_plus imglist\">\n<li><span style=\"color: #999999;\"><em>Note: This function is only usable on multi-touch devices.<\/em><\/span><\/li>\n<\/ul>\n<p>Once you have set up your Lock element, you can use it anywhere in the Write\/Set Command. Simply apply the Write\/Set Command to any element and check the \u201c\u201d check box.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.4.jpg\" alt=\"20.4.4\" width=\"500\" height=\"437\" \/><\/p>\n<h3><span style=\"color: #0084c8;\">Example<\/span><\/h3>\n<p style=\"text-align: justify;\">In the following example, we will create a simple view with a lock element and a button. The button will be enabled only if the user presses and holds the lock element simultaneously.<\/p>\n<p style=\"text-align: justify;\">1. Create a new view and insert the Lock icon and a button. You can also insert an indicator to see if your button is working<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.5.jpg\" alt=\"20.4.5\" width=\"500\" height=\"437\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.6.jpg\" alt=\"20.4.6\" width=\"500\" height=\"472\" \/><\/p>\n<p style=\"text-align: justify;\">2. Now enable the Lock command on the Lock icon<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.7.jpg\" alt=\"20.4.7\" width=\"500\" height=\"308\" \/><\/p>\n<p>3. Now navigate to the Write\/Set command and create a toggle action. Check the \u201c<strong>Lock Enable<\/strong>\u201d check box.<\/p>\n<p>4. Now when you open your view, you will be able to press the button only if you simultaneously press the Lock icon.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lock, if applied, can turn any element of your graphics into a lock key. You can use Lock to disable accidental write\/set commands from being executed. If enabled, the user must first press and hold the Lock element and then press the element with the set command. Lock element is not pressed = user cannot<a class=\"moretag excerpt orangelink\" href=\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":2555,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[325],"doc_tag":[],"class_list":["post-52814","docs","type-docs","status-publish","hentry","doc_category-mydesigner-v8"],"year_month":"2026-04","word_count":251,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Musilda","author_nicename":"musilda","author_url":"https:\/\/amitomation.cz\/en\/author\/musilda\/"},"doc_category_info":[{"term_name":"AMiTDesigner","term_url":"https:\/\/amitomation.cz\/en\/docs-category\/mydesigner-v8\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Lock element - AMiT Automation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lock element - AMiT Automation\" \/>\n<meta property=\"og:description\" content=\"Lock, if applied, can turn any element of your graphics into a lock key. You can use Lock to disable accidental write\/set commands from being executed. If enabled, the user must first press and hold the Lock element and then press the element with the set command. Lock element is not pressed = user cannot[...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\" \/>\n<meta property=\"og:site_name\" content=\"AMiT Automation\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-20T15:56:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\",\"url\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\",\"name\":\"Lock element - AMiT Automation\",\"isPartOf\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg\",\"datePublished\":\"2023-10-24T13:48:25+00:00\",\"dateModified\":\"2023-12-20T15:56:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage\",\"url\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg\",\"contentUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/amitomation.cz\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/amitomation.cz\/en\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Lock element\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/amitomation.cz\/en\/#website\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"name\":\"AMiT Automation\",\"description\":\"Czech manufacturer of Control Systems and Industrial Automation Electronics\",\"publisher\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/amitomation.cz\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\",\"name\":\"AMiT, spol. s r.o.\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"contentUrl\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"width\":100,\"height\":42,\"caption\":\"AMiT, spol. s r.o.\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/organization\/10939938\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Lock element - AMiT Automation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/","og_locale":"en_US","og_type":"article","og_title":"Lock element - AMiT Automation","og_description":"Lock, if applied, can turn any element of your graphics into a lock key. You can use Lock to disable accidental write\/set commands from being executed. If enabled, the user must first press and hold the Lock element and then press the element with the set command. Lock element is not pressed = user cannot[...]","og_url":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/","og_site_name":"AMiT Automation","article_modified_time":"2023-12-20T15:56:48+00:00","og_image":[{"url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/","url":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/","name":"Lock element - AMiT Automation","isPartOf":{"@id":"https:\/\/amitomation.cz\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage"},"image":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage"},"thumbnailUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg","datePublished":"2023-10-24T13:48:25+00:00","dateModified":"2023-12-20T15:56:48+00:00","breadcrumb":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/amitomation.cz\/en\/documentation\/lock-element\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#primaryimage","url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg","contentUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_20.4.1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/amitomation.cz\/en\/documentation\/lock-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/amitomation.cz\/en\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/amitomation.cz\/en\/documentation\/"},{"@type":"ListItem","position":3,"name":"Lock element"}]},{"@type":"WebSite","@id":"https:\/\/amitomation.cz\/en\/#website","url":"https:\/\/amitomation.cz\/en\/","name":"AMiT Automation","description":"Czech manufacturer of Control Systems and Industrial Automation Electronics","publisher":{"@id":"https:\/\/amitomation.cz\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/amitomation.cz\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/amitomation.cz\/en\/#organization","name":"AMiT, spol. s r.o.","url":"https:\/\/amitomation.cz\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/","url":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","contentUrl":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","width":100,"height":42,"caption":"AMiT, spol. s r.o."},"image":{"@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/organization\/10939938\/"]}]}},"_links":{"self":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/52814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/users\/2555"}],"replies":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/comments?post=52814"}],"version-history":[{"count":2,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/52814\/revisions"}],"predecessor-version":[{"id":54785,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/52814\/revisions\/54785"}],"wp:attachment":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/media?parent=52814"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_category?post=52814"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_tag?post=52814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}