{"id":1348,"date":"2019-03-25T17:34:42","date_gmt":"2019-03-25T20:34:42","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/"},"modified":"2020-02-20T14:58:38","modified_gmt":"2020-02-20T17:58:38","slug":"nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/","title":{"rendered":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 &#8211; Eventos."},"content":{"rendered":"<p><span style=\"font-size: large;\"><span style=\"color: #990099; font-weight: bold;\">Eventos de Telas<\/span><\/span><\/p>\n<p><span style=\"color: #3366ff; font-weight: bold; font-size: large;\">KeyDown (KeyCode, Shift) <\/span><\/p>\n<p>Ocorre no momento em que uma tecla \u00e9 pressionada, independentemente do foco na Tela.<br \/>\n<span style=\"font-weight: bold;\">KeyCode<\/span>: N\u00famero inteiro que identifica o caractere ASCII da tecla que foi pressionada<br \/>\n<span style=\"font-weight: bold;\">Shift<\/span>: Mostra a tecla pressionada juntamente com o mouse: 4 = Tecla [Shift]; 8 = Tecla [Ctrl]; 12 = Teclas [Ctrl] + [Shift].<\/p>\n<p>Exemplo:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Sub Tela1_KeyDown(KeyCode, Shift) <\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">'Mostra uma caixa de mensagem quando o usu\u00e1rio pressiona uma tecla <\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">MsgBox \"C\u00f3digo da tecla: \" & KeyCode<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<\/span>\r\n<\/pre>\n<p><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>1.\u00a0\u00a0\u00a0 Quando o usu\u00e1rio apertar o Esc na Tela, sair do Viewer.<br \/>\n2.\u00a0\u00a0\u00a0 Quando a combina\u00e7\u00e3o Ctrl+Y for apertada, aparecer uma caixa de mensagem.<\/p>\n<p><span style=\"color: #3366ff; font-weight: bold; font-size: large;\">MouseDown (Button, ShiftState, MouseX, MouseY) <\/span><\/p>\n<p>Ocorre quando se pressiona qualquer bot\u00e3o do mouse sobre a Tela. Utilize o evento MouseDown para determinar a\u00e7\u00f5es espec\u00edficas quando a Tela for clicada pelo usu\u00e1rio.<br \/>\n<span style=\"font-weight: bold;\">Button<\/span>:\u00a0 1 &#8211; O bot\u00e3o do mouse pressionado \u00e9 o esquerdo. 2 &#8211; O bot\u00e3o do mouse pressionado \u00e9 o direito.<br \/>\n<span style=\"font-weight: bold;\">ShiftState<\/span>: Mostra a tecla pressionada juntamente com o mouse: 4 = Tecla [Shift]; 8 = Tecla [Ctrl]; 12 = Teclas [Ctrl] + [Shift].<br \/>\n<span style=\"font-weight: bold;\">MouseX<\/span>: Mostra a posi\u00e7\u00e3o X onde o mouse foi clicado na Tela<br \/>\n<span style=\"font-weight: bold;\">MouseY<\/span>: Mostra a posi\u00e7\u00e3o Y onde o mouse foi clicado na Tela<\/p>\n<p>Exemplo:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">MsgBox \"Coordenada X: \" & MouseX & vbNewLine & \"Coordenada Y: \" & MouseY<\/span>\r\n<\/pre>\n<p><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>3.\u00a0\u00a0\u00a0 Ao clicar com o bot\u00e3o esquerdo na tela, exibir um calend\u00e1rio na coordenada x e y do clique.<br \/>\n4.\u00a0\u00a0\u00a0 Ao clicar com o bot\u00e3o direito do mouse na tela, abrir a paleta de cores (ShowPickColor) e alterar a cor de fundo da tela.<br \/>\n<span style=\"font-weight: bold; font-size: large;\"><br style=\"color: #3366ff;\" \/><span style=\"color: #3366ff;\">OnPreShow (Arg) <\/span><\/span><\/p>\n<p>Ocorre antes da Tela ser mostrada. A vari\u00e1vel de evento <span style=\"font-weight: bold;\">Arg <\/span>recebe o conte\u00fado do par\u00e2metro Arg do m\u00e9todo OpenScreen(), que gera esse evento.<\/p>\n<p>Exemplo:<\/p>\n<p>Em um bot\u00e3o na tela inicial, inserimos o script abaixo onde a palavra &#8220;Recado&#8221; \u00e9 o par\u00e2metro Arg.<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Sub CommandButton1_Click()<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Application.GetFrame(\"\").OpenScreen(\"Tela1\"), \"Recado\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<\/span><\/pre>\n<p>No evento OnPreShow da Tela1, exibimos o Arg em uma caixa de mensagem:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Sub Tela1_OnPreShow(Arg)<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 MsgBox Arg\u00a0\u00a0\u00a0 <\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<\/span><\/pre>\n<p><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>5.\u00a0\u00a0\u00a0 Em uma tela, crie um setpoint e um bot\u00e3o para chamar uma segunda tela. Passe atrav\u00e9s do par\u00e2metro Arg o que foi digitado no setpoint.<br \/>\n6.\u00a0\u00a0\u00a0 A segunda tela deve exibir em um display o parametro Arg.<br \/>\n7.\u00a0\u00a0\u00a0 Crie um XControl com um desenho de Motor, chamado XMotor.<br \/>\n8.\u00a0\u00a0\u00a0 Insira 3 XMotores na tela.<br \/>\n9.\u00a0\u00a0\u00a0 Ao clicar no XMotor deve ser aberta uma tela (sempre a mesma tela) e um display desta segunda tela deve mostrar o nome do XMotor clicado.<\/p>\n<p><span style=\"font-weight: bold; font-size: large;\"><span style=\"color: #990099;\">Eventos do Setpoint<\/span><\/span><br \/>\n<span style=\"color: #3366ff; font-weight: bold; font-size: large;\"><br \/>\nValidate (Cancel, NewValue)<\/span><\/p>\n<p>Ocorre ap\u00f3s os testes de limites do SetPoint e antes do valor do SetPoint ser enviado para o tag. A finalidade deste evento \u00e9 permitir que o usu\u00e1rio cancele o envio do valor do SetPoint para o tag. O valor antigo pode ser acessado pela propriedade Value do SetPoint.<br \/>\n<span style=\"font-weight: bold;\">Cancel<\/span>:\u00a0 booleano que indica se a opera\u00e7\u00e3o de atribui\u00e7\u00e3o do valor do SetPoint ao tag deve ser cancelada (Cancel = True). O padr\u00e3o \u00e9 False<br \/>\n<span style=\"font-weight: bold;\">NewValue<\/span>:\u00a0 valor que est\u00e1 sendo avaliado.<\/p>\n<p>Exemplo:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Sub Setpoint1_Validate(Cancel, NewValue)<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">' Mostra uma MsgBox que pergunta ao usu\u00e1rio se ele deseja usar o novo valor digitado no SetPoint<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">mensagem = \"Valor atual: \" & Value & vbnewline & \"Valor novo: \" & NewValue & vbnewline & \"Aceita o novo valor?\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">If MsgBox(mensagem, vbQuestion+vbYesNo, \"Evento Validate\")=vbNo Then <\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Cancel = True<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End If<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<\/span><\/pre>\n<p><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\"><br \/>\nExerc\u00edcios:<\/span><\/span><\/p>\n<p>10.\u00a0\u00a0\u00a0 Insira um setpoint e um display na tela. Associe ambos ao mesmo tag interno.<br \/>\n11.\u00a0\u00a0\u00a0 Se o valor digitado no setpoint for diferente de 10, 20 ou 30, deve-se exibir uma mensagem ao usu\u00e1rio informando que este valor n\u00e3o \u00e9 permitido. O valor n\u00e3o deve ser passado ao tag.<\/p>\n<p><span style=\"color: #990099; font-weight: bold; font-size: large;\">Eventos do E3Browser<\/span><\/p>\n<p><span style=\"color: #3366ff; font-weight: bold; font-size: large;\">OnDrawRow (Selected, Line, RowTextColor, RowBackColor)<\/span><\/p>\n<p><span style=\"font-weight: bold;\">Selected<\/span>:\u00a0 indica se a linha est\u00e1 selecionada;<br \/>\n<span style=\"font-weight: bold;\">Line<\/span>: indica o n\u00famero da linha sendo desenhada;<br \/>\n<span style=\"font-weight: bold;\">RowTextColor<\/span>:\u00a0 indica a cor do texto da linha;<br \/>\n<span style=\"font-weight: bold;\">RowBackColor<\/span>: indica a cor de fundo do texto.<br \/>\nSe a cor for modificada dentro deste evento, esta modifica\u00e7\u00e3o ser\u00e1 usada pelo E3Browser no desenho da linha. Se o m\u00e9todo GetColumnValue() for chamado de dentro do evento, os valores retornados ser\u00e3o os da linha sendo desenhada, e n\u00e3o os da linha selecionada.<\/p>\n<p>Exemplo:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Estado = GetColumnValue(1)<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">If Estado=0 then<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 RowTextColor = RGB(255,0,0) 'vermelho<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Else<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">RowTextColor = RGB(255,0,0) 'verde<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End if<\/span><\/pre>\n<p><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>12.\u00a0\u00a0\u00a0 Insira um objeto Banco de Dados na aplica\u00e7\u00e3o e configure-o.<br \/>\n13.\u00a0\u00a0\u00a0 Crie um tag de demonstra\u00e7\u00e3o.<br \/>\n14.\u00a0\u00a0\u00a0 Insira um alarme para o tag de demonstra\u00e7\u00e3o.<br \/>\n15.\u00a0\u00a0\u00a0 Salve os alarmes no banco de Dados.<br \/>\n16.\u00a0\u00a0\u00a0 Exiba os dados de alarmes no E3Browser<br \/>\n17.\u00a0\u00a0\u00a0 Se o registro for de entrada de alarme, deve ter a cor vermelha. Se for um reconhecimento, cor azul. Se for um retorno, preto.<\/p>\n<p><span style=\"color: #990099; font-weight: bold; font-size: large;\">Eventos do E3Chart<\/span><br \/>\n<span style=\"color: #3366ff; font-size: large;\"><br style=\"font-weight: bold;\" \/><span style=\"font-weight: bold;\">OnLegendClick(Row, Col, RowData)<\/span><\/span><\/p>\n<p>Ocorre quando o usu\u00e1rio clica em uma linha da legenda. Os par\u00e2metros <span style=\"font-weight: bold;\">Row <\/span>e <span style=\"font-weight: bold;\">Col <\/span>indicam, respectivamente, a linha e a coluna clicadas. O par\u00e2metro <span style=\"font-weight: bold;\">RowData <\/span>\u00e9 o \u00edndice da pena da legenda onde ocorreu o clique.<\/p>\n<p>Exemplo:<\/p>\n<p><span style=\"font-family: Courier New; background-color: #cccccc;\">Sub E3Chart1_OnLegendClick(Row, col, RowData)<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">MsgBox &#8220;Nome da pena: &#8221; &#038; Pens.Item(RowData).name<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<br \/>\n<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-style: italic; font-weight: bold; font-size: large;\"><span style=\"color: #3366ff;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>18.\u00a0\u00a0\u00a0 Crie um gr\u00e1fico na tela com pelo menos 3 penas. Mostre a legenda.<br \/>\n19.\u00a0\u00a0\u00a0 No evento OnStartRunning do E3Chart, insira o c\u00f3digo abaixo para que todas as penas sempre apare\u00e7am:<br \/>\n<span style=\"font-family: Courier New; background-color: #cccccc;\">Sub E3Chart1_OnStartRunning()<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Legend.ShowAllPens = True\u00a0\u00a0\u00a0 <\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End Sub<\/span><br \/>\n20.\u00a0\u00a0\u00a0 Ao clicar em uma pena na legenda, mostre um menu com as op\u00e7\u00f5es Visivel e Cor (Select Menu)<br \/>\n21.\u00a0\u00a0\u00a0 Ao clicar na op\u00e7\u00e3o Vis\u00edvel, a pena deve aparecer\/desaparecer.<br \/>\n22.\u00a0\u00a0\u00a0 Ao clicar na op\u00e7\u00e3o Cor, deve abrir uma paleta de cores onde \u00e9 poss\u00edvel escolher a nova cor da pena.<\/p>\n<h3>Anexos:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/Licao4.zip\">Licao4.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eventos de TelasKeyDown (KeyCode, Shift) Ocorre no momento em que uma tecla \u00e9 pressionada, independentemente do foco na Tela.KeyCode: N\u00famero inteiro que identifica&#8230;<br \/>\nAutor<br \/>\nPaula Pereira En\u00e9as<\/p>\n","protected":false},"author":1,"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":[578,610],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.[:] - 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\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.\" \/>\n<meta property=\"og:description\" content=\"Eventos de TelasKeyDown (KeyCode, Shift) Ocorre no momento em que uma tecla \u00e9 pressionada, independentemente do foco na Tela.KeyCode: N\u00famero inteiro que identifica... Autor Paula Pereira En\u00e9as\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\" \/>\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:34:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-20T17:58:38+00:00\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 &#8211; Eventos.\",\"datePublished\":\"2019-03-25T20:34:42+00:00\",\"dateModified\":\"2020-02-20T17:58:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\"},\"wordCount\":837,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Elipse E3\",\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\",\"url\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\",\"name\":\"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:34:42+00:00\",\"dateModified\":\"2020-02-20T17:58:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 &#8211; Eventos.\"}]},{\"@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\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.[:] - 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\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.[:] - Elipse Knowledgebase","og_description":"[:pt]Eventos de TelasKeyDown (KeyCode, Shift) Ocorre no momento em que uma tecla \u00e9 pressionada, independentemente do foco na Tela.KeyCode: N\u00famero inteiro que identifica... Autor Paula Pereira En\u00e9as[:]","og_url":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:34:42+00:00","article_modified_time":"2020-02-20T17:58:38+00:00","author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 &#8211; Eventos.","datePublished":"2019-03-25T20:34:42+00:00","dateModified":"2020-02-20T17:58:38+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/"},"wordCount":837,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Elipse E3","Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/","url":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/","name":"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 - Eventos.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:34:42+00:00","dateModified":"2020-02-20T17:58:38+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-4-eventos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 4 &#8211; Eventos."}]},{"@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\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1348"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=1348"}],"version-history":[{"count":6,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1348\/revisions"}],"predecessor-version":[{"id":10240,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1348\/revisions\/10240"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=1348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=1348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=1348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}