{"id":1172,"date":"2019-03-25T17:33:57","date_gmt":"2019-03-25T20:33:57","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/"},"modified":"2019-04-23T14:14:07","modified_gmt":"2019-04-23T17:14:07","slug":"kb29833-checking-or-disabling-menu-options-with-selectmenu-method","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/","title":{"rendered":"KB-29833: Checking or disabling menu options with SelectMenu method."},"content":{"rendered":"<div style=\"text-align: justify;\"><b>Question:<\/b><\/div>\n<p class=\"MsoNormal\" style=\"text-align: justify;\">How can I check or disable a menu option in <span style=\"font-style: italic;\">SelectMenu <\/span>method?<\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify;\"><b>Solution:<\/b><\/p>\n<div style=\"text-align: justify;\">\n<p>To check an option, add an asterisk (*) before the option. To disable an option, add an exclamation mark (!).<\/p>\n<p>In the example below, <span style=\"font-weight: bold;\">Option2 <\/span>is checked, and <span style=\"font-weight: bold;\">Option5 <\/span>is disabled.<\/p>\n<\/div>\n<p><span style=\"font-family: Courier New; color: #000000;\">Application.SelectMenu(&#8220;Option1|*Option2|Option3|Option4|!Option5&#8221;)<\/span><\/p>\n<div style=\"text-align: justify;\">When the script is executed at runtime, the menu will display the following:<\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID1722\/Figura1.png\" alt=\"\" width=\"199\" height=\"152\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\"><b>Obs.:<\/b> Attached to this article is a sample application developed with <span style=\"font-weight: bold;\">E3 <\/span>version 3.1 Build 270.<\/div>\n<div><\/div>\n<h3>Attachments:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/KB29833en.zip\">KB29833en.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: How can I check or disable a menu option in SelectMenu method? Solution: To check an option, add an asterisk (*) before the option. To disable an option, add&hellip;<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[763],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-29833: Checking or disabling menu options with SelectMenu method. - Elipse Knowledgebase<\/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:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-29833: Checking or disabling menu options with SelectMenu method.\" \/>\n<meta property=\"og:description\" content=\"Question: How can I check or disable a menu option in SelectMenu method? Solution: To check an option, add an asterisk (*) before the option. To disable an option, add&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:33:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-23T17:14:07+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID1722\/Figura1.png\" \/>\n<meta name=\"author\" content=\"Enrico Busnello Amorim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Enrico Busnello Amorim\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\"},\"author\":{\"name\":\"Enrico Busnello Amorim\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/aa880bd098677c1ae91fa708e17cdc12\"},\"headline\":\"KB-29833: Checking or disabling menu options with SelectMenu method.\",\"datePublished\":\"2019-03-25T20:33:57+00:00\",\"dateModified\":\"2019-04-23T17:14:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\"},\"wordCount\":94,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\",\"name\":\"[:pt]KB-29833: Checking or disabling menu options with SelectMenu method.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:33:57+00:00\",\"dateModified\":\"2019-04-23T17:14:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-29833: Checking or disabling menu options with SelectMenu method.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/aa880bd098677c1ae91fa708e17cdc12\",\"name\":\"Enrico Busnello Amorim\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/13943145ceed05bf229301fae63da878?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/13943145ceed05bf229301fae63da878?s=96&d=mm&r=g\",\"caption\":\"Enrico Busnello Amorim\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/enrico\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KB-29833: Checking or disabling menu options with SelectMenu method. - Elipse Knowledgebase","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:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-29833: Checking or disabling menu options with SelectMenu method.[:] - Elipse Knowledgebase","og_description":"Question: How can I check or disable a menu option in SelectMenu method? Solution: To check an option, add an asterisk (*) before the option. To disable an option, add&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:33:57+00:00","article_modified_time":"2019-04-23T17:14:07+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID1722\/Figura1.png"}],"author":"Enrico Busnello Amorim","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Enrico Busnello Amorim"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/"},"author":{"name":"Enrico Busnello Amorim","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/aa880bd098677c1ae91fa708e17cdc12"},"headline":"KB-29833: Checking or disabling menu options with SelectMenu method.","datePublished":"2019-03-25T20:33:57+00:00","dateModified":"2019-04-23T17:14:07+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/"},"wordCount":94,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/","url":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/","name":"[:pt]KB-29833: Checking or disabling menu options with SelectMenu method.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:33:57+00:00","dateModified":"2019-04-23T17:14:07+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/kb29833-checking-or-disabling-menu-options-with-selectmenu-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-29833: Checking or disabling menu options with SelectMenu method."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/aa880bd098677c1ae91fa708e17cdc12","name":"Enrico Busnello Amorim","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/13943145ceed05bf229301fae63da878?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/13943145ceed05bf229301fae63da878?s=96&d=mm&r=g","caption":"Enrico Busnello Amorim"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/enrico\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1172"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":3,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"predecessor-version":[{"id":5036,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1172\/revisions\/5036"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}