{"id":229,"date":"2016-03-01T14:46:04","date_gmt":"2016-03-01T19:46:04","guid":{"rendered":"http:\/\/salzlechner.com\/dev\/?p=229"},"modified":"2016-03-11T06:55:35","modified_gmt":"2016-03-11T11:55:35","slug":"dataflex-and-wizards","status":"publish","type":"post","link":"http:\/\/salzlechner.com\/dev\/2016\/03\/01\/dataflex-and-wizards\/","title":{"rendered":"DataFlex and Wizards"},"content":{"rendered":"<p>DataFlex does not offer support for the developer to create wizard style interfaces. You can of course build it all from scratch but it is a lot easier when using the <a href=\"http:\/\/starzen.com\/products\/dataflex-controls\/user-interface-controls\/wizard\/\">Wizard control<\/a> from <a href=\"http:\/\/starzen.com\">StarZen Technologies<\/a>.<\/p>\n<p>It offers two different wizard classes and the wizard pages can be modeled in the Studio and is fully data aware<\/p>\n<p>After installing the library and adding the library to your project you can simply create a wizard as follows<\/p>\n<p>In the Studio select File-&gt;New-Dialog\/Lookup<\/p>\n<p><a href=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wizardnew.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-230\" src=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wizardnew.png\" alt=\"wizardnew\" width=\"726\" height=\"367\" srcset=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wizardnew.png 726w, http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wizardnew-300x152.png 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/a><\/p>\n<p>you get the choice of a &#8216;StarZen Wizard&#8217; which is the older windows style\u00a0wizard and &#8216;StarZen Wizard 2K&#8217; which is the newer style wizard<\/p>\n<p>Here is a screenshot of a sample wizard in the Studio<\/p>\n<p><a href=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/samplewizard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-231\" src=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/samplewizard.png\" alt=\"samplewizard\" width=\"939\" height=\"620\" srcset=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/samplewizard.png 939w, http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/samplewizard-300x198.png 300w\" sizes=\"(max-width: 939px) 100vw, 939px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The wizard can be maintained in the Studio the same way tab pages are maintained. There are a number of properties for the wizard class as well as the wizard page class.<\/p>\n<p>The wizard control also has a number of methods and events to control page flow.<\/p>\n<p>The wizard pages support events such as<\/p>\n<ul>\n<li>OnEnter<\/li>\n<li>OnLeave<\/li>\n<li>OnNext<\/li>\n<li>OnBack<\/li>\n<li>OnResize<\/li>\n<\/ul>\n<p>The wizard has a number of methods including<\/p>\n<ul>\n<li>RequestDoNext<\/li>\n<li>RequestDoBack<\/li>\n<li>RequestDoClose<\/li>\n<li>DoFinish<\/li>\n<li>ShowPage<\/li>\n<li>ShowPageByName<\/li>\n<li>EnableNext<\/li>\n<li>EnableBack<\/li>\n<\/ul>\n<p>and here are two screenshots when running the wizard sample<\/p>\n<p><a href=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-232\" src=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz1.png\" alt=\"wiz1\" width=\"654\" height=\"459\" srcset=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz1.png 654w, http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz1-300x211.png 300w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-233\" src=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz2.png\" alt=\"wiz2\" width=\"649\" height=\"456\" srcset=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz2.png 649w, http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/03\/wiz2-300x211.png 300w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>the wizard control from StarZen Technologies makes it very easy to add wizards to your applications. The wizard control is coded completely in DataFlex code.<\/p>\n<p>This class as well as others are available from <a href=\"http:\/\/www.starzen.com\">StarZen Technologies, Inc.<\/a><\/p>\n\n\t\t<div class='author-shortcodes'>\n\t\t\t<div class='author-inner'>\n\t\t\t\t<div class='author-image'>\n\t\t\t<img src='http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/02\/mike5crop-566174_60x60.jpg' alt='' \/>\n\t\t\t<div class='author-overlay'><\/div>\n\t\t<\/div> \n\t\t<div class='author-info'>\n\t\t\tMichael Salzlechner is the CEO of StarZen Technologies, Inc.<\/p>\n<p>He was part of the Windows Team at Data Access Worldwide that created the DataFlex for Windows Product before joining <a href=\"http:\/\/starzen.com\">StarZen Technologies<\/a>. StarZen Technologies provides consulting services as well as custom Application development and third party products specifically for DataFlex developers<\/p>\n\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have a need for wizard user interfaces in your application. This post shows how to use the wizard addon for DataFlex from StarZen Technologies.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-dataflex"],"_links":{"self":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":2,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":271,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/229\/revisions\/271"}],"wp:attachment":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}