{"id":22543,"date":"2016-01-04T09:42:07","date_gmt":"2016-01-04T08:42:07","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=22543"},"modified":"2016-01-27T09:13:26","modified_gmt":"2016-01-27T08:13:26","slug":"events","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/events\/?lang=en","title":{"rendered":"EVENTS"},"content":{"rendered":"<h4 align=\"left\"><a name=\"eventi_form\"><\/a><span lang=\"en\">What is an &#8220;Event&#8221;<\/span><\/h4>\n<p align=\"left\"><span lang=\"en\">Events are pieces of code that are executed in response to &#8220;characteristic events&#8221;;<\/span><br \/>\n<span lang=\"en\">After selecting an object, you can see at the side between the properties of the object, the events available dedicated it.<\/span><br \/>\n<span lang=\"en\">Events can be associated <strong>both to individual objects <\/strong>(see pages related to single object),<\/span><\/p>\n<p align=\"left\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23259\" src=\"http:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi17_en.jpg\" alt=\"FDeventi17_en\" width=\"198\" height=\"33\" \/><\/p>\n<p align=\"left\"><span lang=\"en\">both <strong>to the form <\/strong>as a whole<strong> ( <\/strong>for more info <a href=\"http:\/\/help.qualiware.it\/qw-help\/fd-form-object\/?lang=en\">&#8220;FORM OBJECT&#8221;<\/a><strong>)<\/strong>.<\/span><\/p>\n<p align=\"left\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23262\" src=\"http:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi_en1.jpg\" alt=\"FDeventi_en\" width=\"338\" height=\"62\" srcset=\"https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi_en1.jpg 338w, https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi_en1-300x55.jpg 300w\" sizes=\"(max-width: 338px) 100vw, 338px\" \/><\/p>\n<p lang=\"en\" align=\"left\">Clicking next to the name of the event <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23044\" src=\"http:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi331.jpg\" alt=\"FDeventi33\" width=\"327\" height=\"32\" srcset=\"https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi331.jpg 327w, https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi331-300x29.jpg 300w\" sizes=\"(max-width: 327px) 100vw, 327px\" \/> you are accessing the &#8220;event handler&#8221;, within which you can write code that describes the event itself.<\/p>\n<p lang=\"en\" align=\"left\">The event-handling code using the programming languages with which Qualiware has been developed:<\/p>\n<ul>\n<li><span lang=\"en\"><span style=\"color: #800000;\"><strong>dBL (dBASE)<\/strong><\/span> for <\/span><span lang=\"en\">client\/server vers.<\/span><\/li>\n<li><span lang=\"en\"><span style=\"color: #800000;\"><strong>Visual Basic<\/strong><\/span> for vers. <\/span><span lang=\"en\"><span lang=\"en\">Web vers.<\/span><\/span>&nbsp;\n<p>DBL EVENT HANDLER&#8217;S \u00a0EXAMPLE<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23035\" src=\"http:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi13.jpg\" alt=\"FDeventi13\" width=\"650\" height=\"192\" srcset=\"https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi13.jpg 650w, https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi13-300x89.jpg 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p><span lang=\"en\">This code fragment handles the <em>&#8220;change&#8221;<\/em> to a field where you enter the number of a DDT chosen from a list.<\/span><br \/>\n<span lang=\"en\">The value is filled in automatically the &#8220;quantity&#8221; field with the sum of the amounts on lines of DDT specified.<\/span><\/p>\n<h4 id=\"ipt_kb_toc_22344_1\" align=\"left\"><a name=\"eventi_form\"><\/a><span lang=\"en\">Event syntax checking<\/span><\/h4>\n<p><span lang=\"en\">In the &#8220;<em>Event Handler&#8221; <\/em>button<span style=\"color: #993300;\"><strong> &#8220;Check syntax&#8221; <\/strong><\/span>which allows you to check the correctness of the syntax of the event.<\/span><br \/>\n<span lang=\"en\">The editor also features syntax highlighting and AutoComplete function of code that shows the objects on the form after you type the string &#8220;<em>form.<\/em>&#8220;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23263\" src=\"http:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi11_en.jpg\" alt=\"FDeventi11_en\" width=\"1006\" height=\"616\" srcset=\"https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi11_en.jpg 1006w, https:\/\/help.qualiware.it\/qw-help\/wp-content\/uploads\/FDeventi11_en-300x184.jpg 300w\" sizes=\"(max-width: 1006px) 100vw, 1006px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is an &#8220;Event&#8221; Events are pieces of code that are executed in response to &#8220;characteristic events&#8221;; After selecting an object, you can see at the side between the properties of the object, the events available dedicated it. Events can be associated both to individual objects (see pages related to single object), both to the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[56],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/22543"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=22543"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/22543\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=22543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=22543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=22543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}