{"id":2139,"date":"2021-03-16T21:54:00","date_gmt":"2021-03-17T01:54:00","guid":{"rendered":"https:\/\/anvil-of-time.com\/?p=2139"},"modified":"2021-03-16T13:56:30","modified_gmt":"2021-03-16T17:56:30","slug":"100-days-of-powerbuilder-tutorial-day-4-a-look-at-the-ide","status":"publish","type":"post","link":"https:\/\/anvil-of-time.com\/powerbuilder\/100-days-of-powerbuilder-tutorial-day-4-a-look-at-the-ide\/","title":{"rendered":"100 Days of PowerBuilder &#8211; Tutorial &#8211; Day 4: A Look at the IDE"},"content":{"rendered":"\n<p>This is part of my project &#8216;100 Days of PowerBuilder&#8217; which is a series of discussions focused on basic PowerBuilder development.<\/p>\n\n\n\n<p><em>Note: This article is written with examples created in PowerBuilder 2019 R3. The same steps would be pretty close with any version going back to 9.<\/em><\/p>\n\n\n\n<p>Mastering the PowerBuilder Integrated Development Environment (<a rel=\"noreferrer noopener\" href=\"http:\/\/en.wikipedia.org\/wiki\/Integrated_development_environment\" target=\"_blank\">IDE<\/a>) is the key to becoming a successful PB developer. As is normally the case with an IDE, there are many ways to accomplish the same task and each developer will create their own processes to do so. In this discussion we will go over some common configuration changes which should enhance productivity within the PB IDE.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001.png\"><img loading=\"lazy\" width=\"1024\" height=\"655\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001-1024x655.png\" alt=\"\" class=\"wp-image-2143\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001-1024x655.png 1024w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001-300x192.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001-768x491.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001-150x96.png 150w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-001.png 1245w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Here again is the standard screen normally presented after PowerBuilder is installed and run for the first few items. Now it&#8217;s time to banish this since we no longer need it. Select the &#8216;Reload last workspace\u2026&#8217; option and unselect the &#8216;Show this dialog\u2026&#8217; and then close the window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-002.png\"><img loading=\"lazy\" width=\"320\" height=\"78\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-002.png\" alt=\"\" class=\"wp-image-2145\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-002.png 320w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-002-300x73.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-002-150x37.png 150w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><\/a><\/figure>\n\n\n\n<p>Now from here we have selected our &#8216;100day&#8217; target and opened the &#8216;w_main&#8217; object in the IDE. The system treeview on the left is a nice navigational tool but it is always on top. Sure we can resize it or move it to another place but we still have the issue that it reduces the working area within the IDE. Close this frame altogether.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003.png\"><img loading=\"lazy\" width=\"1024\" height=\"656\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003-1024x656.png\" alt=\"\" class=\"wp-image-2148\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003-1024x656.png 1024w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003-300x192.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003-768x492.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003-150x96.png 150w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-003.png 1241w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>While we are at it, lets set up some system options to make things a bit more friendly.  Open the System Options dialogue. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-004-1.png\"><img loading=\"lazy\" width=\"361\" height=\"151\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-004-1.png\" alt=\"\" class=\"wp-image-2149\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-004-1.png 361w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-004-1-300x125.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-004-1-150x63.png 150w\" sizes=\"(max-width: 361px) 100vw, 361px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-005.png\"><img loading=\"lazy\" width=\"532\" height=\"487\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-005.png\" alt=\"\" class=\"wp-image-2150\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-005.png 532w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-005-300x275.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-005-150x137.png 150w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><\/figure>\n\n\n\n<p>Unselect the &#8216;Automatically Clear Output&#8230;&#8217; option. This is especially important when searching through the code within the IDE. If you leave this option checked, previous search results are cleared; if you have a photographic memory then leave it checked. Select the &#8216;Disable database connection when compiling&#8230;&#8217; option. This prevents the IDE from attempting to connect to the default database when performing a build (normally this is not important).<\/p>\n\n\n\n<p>On the Workspaces tab you should have the &#8216;Reopen workspace&#8230;&#8217; option checked.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-006.png\"><img loading=\"lazy\" width=\"384\" height=\"364\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-006.png\" alt=\"\" class=\"wp-image-2151\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-006.png 384w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-006-300x284.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-006-150x142.png 150w\" sizes=\"(max-width: 384px) 100vw, 384px\" \/><\/a><\/figure>\n\n\n\n<p>Remember to click OK to save these changes.<\/p>\n\n\n\n<p>Getting back to the IDE we see that the working area is fairly large now and encompasses almost all of the space within the IDE. To view our workspace and the associated object we need to bring up the Library Painter. Choose the Library Icon from the toolbar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-007.png\"><img loading=\"lazy\" width=\"385\" height=\"121\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-007.png\" alt=\"\" class=\"wp-image-2152\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-007.png 385w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-007-300x94.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-007-150x47.png 150w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/a><\/figure>\n\n\n\n<p>Notice the default location is My Computer which is of limited use. The library painter is very similar to the Explorer window in Windows. The left treeview is for navigation and the right is the detail. Right click on the treeview on the right.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-008.png\"><img loading=\"lazy\" width=\"576\" height=\"177\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-008.png\" alt=\"\" class=\"wp-image-2153\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-008.png 576w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-008-300x92.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-008-150x46.png 150w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-009.png\"><img loading=\"lazy\" width=\"366\" height=\"307\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-009.png\" alt=\"\" class=\"wp-image-2154\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-009.png 366w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-009-300x252.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-009-150x126.png 150w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/a><\/figure>\n\n\n\n<p>Choose the Set Root option and then &#8216;Current Workspace&#8217;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-010.png\"><img loading=\"lazy\" width=\"410\" height=\"157\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-010.png\" alt=\"\" class=\"wp-image-2155\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-010.png 410w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-010-300x115.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-010-150x57.png 150w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/a><\/figure>\n\n\n\n<p>Now when you open the Library Painter you see the Workspace treeview to the left and the current object pane on the left.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_10.png\"><img loading=\"lazy\" width=\"770\" height=\"148\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_10.png\" alt=\"\" class=\"wp-image-1221\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_10.png 770w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_10-300x57.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_10-150x28.png 150w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/a><\/figure>\n\n\n\n<p>While in the Library Painter we can set some options, first on the General Tab<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1.png\"><img loading=\"lazy\" width=\"961\" height=\"330\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1.png\" alt=\"\" class=\"wp-image-2159\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1.png 961w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1-300x103.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1-768x264.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-011-1-150x52.png 150w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/><\/a><\/figure>\n\n\n\n<p>and then in the Include Tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012.png\"><img loading=\"lazy\" width=\"960\" height=\"383\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012.png\" alt=\"\" class=\"wp-image-2160\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012.png 960w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012-300x120.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012-768x306.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-012-150x60.png 150w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/figure>\n\n\n\n<p>I normally don&#8217;t make any changes here to the defaults.<\/p>\n\n\n\n<p>Now when we click on an object to open it we see that the script painter opens much larger and is on top of the library painter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-013.png\"><img loading=\"lazy\" width=\"732\" height=\"331\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-013.png\" alt=\"\" class=\"wp-image-2162\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-013.png 732w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-013-300x136.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-013-150x68.png 150w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/a><\/figure>\n\n\n\n<p>So if we take a closer look at the Script Painter for our window we have created we have the basic layout as shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014.png\"><img loading=\"lazy\" width=\"1024\" height=\"553\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014-1024x553.png\" alt=\"\" class=\"wp-image-2164\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014-1024x553.png 1024w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014-300x162.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014-768x415.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014-150x81.png 150w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-014.png 1234w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Along the bottom of the &#8216;working area&#8217; are a series of tabs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-015.png\"><img loading=\"lazy\" width=\"388\" height=\"48\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-015.png\" alt=\"\" class=\"wp-image-2165\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-015.png 388w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-015-300x37.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-015-150x19.png 150w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/a><\/figure>\n\n\n\n<p>These show the visual layout of the object, the current script (in our case the closequery event script), the list of Events, the list of Functions, and the Declare Instance Variables script.<\/p>\n\n\n\n<p>On the right side of the working area is the Properties pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/?attachment_id=2166\"><img loading=\"lazy\" width=\"372\" height=\"639\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-016.png\" alt=\"\" class=\"wp-image-2166\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-016.png 372w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-016-175x300.png 175w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-016-87x150.png 87w\" sizes=\"(max-width: 372px) 100vw, 372px\" \/><\/a><\/figure>\n\n\n\n<p>Along the top are a series of tabs showing various properties. These tabs (and properties) change based on the object selected in the Layout tab of the window or from the Control list (shown below).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-017.png\"><img loading=\"lazy\" width=\"273\" height=\"85\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-017.png\" alt=\"\" class=\"wp-image-2168\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-017.png 273w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-017-150x47.png 150w\" sizes=\"(max-width: 273px) 100vw, 273px\" \/><\/a><\/figure>\n\n\n\n<p>Along the bottom of the Properties pane are tabs for the Properties, the Control List, and the Non-Visual Object List<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-018.png\"><img loading=\"lazy\" width=\"343\" height=\"40\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-018.png\" alt=\"\" class=\"wp-image-2169\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-018.png 343w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-018-300x35.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-018-150x17.png 150w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><\/a><\/figure>\n\n\n\n<p>If you right click within the General properties area on the Properties tab you can change the layout of the tabs. The default is Labels on Top.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-019.png\"><img loading=\"lazy\" width=\"376\" height=\"404\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-019.png\" alt=\"\" class=\"wp-image-2171\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-019.png 376w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-019-279x300.png 279w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-019-140x150.png 140w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/a><\/figure>\n\n\n\n<p>Here is the appearance when Labels On Left is chosen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-020.png\"><img loading=\"lazy\" width=\"374\" height=\"600\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-020.png\" alt=\"\" class=\"wp-image-2172\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-020.png 374w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-020-187x300.png 187w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-020-94x150.png 94w\" sizes=\"(max-width: 374px) 100vw, 374px\" \/><\/a><\/figure>\n\n\n\n<p>In this mode the information is shown in less space.<\/p>\n\n\n\n<p>The Control List tab for our sample application looks like this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-021.png\"><img loading=\"lazy\" width=\"371\" height=\"639\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-021.png\" alt=\"\" class=\"wp-image-2174\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-021.png 371w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-021-174x300.png 174w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-021-87x150.png 87w\" sizes=\"(max-width: 371px) 100vw, 371px\" \/><\/a><\/figure>\n\n\n\n<p>You can select another control by clicking on it from the list. In this case we have two controls, the main window and the exit button.<\/p>\n\n\n\n<p>You can control the various panes shown in the script painter from the View menu option. Here we are choosing to have the Event List in its own pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-022.png\"><img loading=\"lazy\" width=\"286\" height=\"322\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-022.png\" alt=\"\" class=\"wp-image-2175\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-022.png 286w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-022-266x300.png 266w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-022-133x150.png 133w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><\/a><\/figure>\n\n\n\n<p>Since our system option is to have Horizontal Windows dominate the event list shows on the bottom. Not too helpful in my book.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023.png\"><img loading=\"lazy\" width=\"1024\" height=\"716\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023-1024x716.png\" alt=\"\" class=\"wp-image-2178\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023-1024x716.png 1024w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023-300x210.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023-768x537.png 768w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023-150x105.png 150w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-023.png 1131w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Move the pointer over the separation bar of the Event List and the title bar appears. From this point you can &#8216;pin&#8217; the titlebar by clicking on the pushpin icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_13k.png\"><img loading=\"lazy\" width=\"130\" height=\"54\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_13k.png\" alt=\"\" class=\"wp-image-1235\"\/><\/a><\/figure>\n\n\n\n<p>Drag on the titlebar with the pointer to change the location of this pane. Move it to the tab area below the Properties pane (or some other location). You will see a shadow box appear indicating the location will receive the dropped pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_14.png\"><img loading=\"lazy\" width=\"403\" height=\"162\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_14.png\" alt=\"\" class=\"wp-image-1236\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_14.png 403w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_14-300x120.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_14-150x60.png 150w\" sizes=\"(max-width: 403px) 100vw, 403px\" \/><\/a><\/figure>\n\n\n\n<p>Now the Properties pane is &#8216;split&#8217; into two with the newly dragged Event List on the bottom.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_15.png\"><img loading=\"lazy\" width=\"389\" height=\"707\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_15.png\" alt=\"\" class=\"wp-image-1237\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_15.png 389w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_15-165x300.png 165w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2012\/02\/04_15-82x150.png 82w\" sizes=\"(max-width: 389px) 100vw, 389px\" \/><\/a><\/figure>\n\n\n\n<p>Do the same with the Function List so now you have both lists (as tabs) underneath the Properties pane. You can now experiment with changing the Properties pane width to give your script pane the most area possible.<\/p>\n\n\n\n<p>If you really screw things up or just want to start over, go to the View menu, choose Layouts and then (Default). You can also save layouts here once you come up with one or more you really like.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-025.png\"><img loading=\"lazy\" width=\"378\" height=\"348\" src=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-025.png\" alt=\"\" class=\"wp-image-2180\" srcset=\"https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-025.png 378w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-025-300x276.png 300w, https:\/\/anvil-of-time.com\/wp-content\/uploads\/2021\/03\/TutorialDay4-025-150x138.png 150w\" sizes=\"(max-width: 378px) 100vw, 378px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is part of my project &#8216;100 Days of PowerBuilder&#8217; which is a series of discussions focused on basic PowerBuilder development. Note: This article is written with examples created in PowerBuilder 2019 R3. The same steps would be pretty close with any version going back to 9. Mastering the PowerBuilder Integrated Development Environment (IDE) is&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[86,3],"tags":[62],"_links":{"self":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/2139"}],"collection":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/comments?post=2139"}],"version-history":[{"count":10,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/2139\/revisions"}],"predecessor-version":[{"id":2181,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/2139\/revisions\/2181"}],"wp:attachment":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/media?parent=2139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/categories?post=2139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/tags?post=2139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}