{"id":10567,"date":"2015-12-03T06:00:39","date_gmt":"2015-12-03T14:00:39","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=10567"},"modified":"2015-12-01T15:44:16","modified_gmt":"2015-12-01T23:44:16","slug":"create-a-powershell-gui-app-with-a-fixed-size-ui","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2015\/12\/03\/create-a-powershell-gui-app-with-a-fixed-size-ui\/","title":{"rendered":"Create a PowerShell GUI App with a Fixed-Size UI"},"content":{"rendered":"<p>The newest video in our &#8220;Check out this feature&#8221; series is actually an answer to a great question that was posed to me on Reddit. <a href=\"https:\/\/youtu.be\/l412GmXouZs\" target=\"_blank\">A PowerShell GUI with a Fixed-Size UI<\/a> shows you how to use the features of PowerShell Studio to\u00a0create a PowerShell GUI app that the end-user cannot resize.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/11\/FixedForm.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"FixedForm\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/11\/FixedForm_thumb.png\" alt=\"FixedForm\" width=\"639\" height=\"300\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A fixed-size UI is much simpler to manage because you don&#8217;t have to anchor the form controls or worry about them floating around the form when the user resizes the UI.\u00a0 In this video, I demonstrate 3 different ways to do it. You can also create a &#8220;compromise&#8221; version where the background isn&#8217;t resizable, but the end-user can minimize and maximize the UI.<\/p>\n<p>Our first video, <a href=\"https:\/\/www.youtube.com\/watch?v=CJLfS2Djv5g\" target=\"_blank\">Function Builder in SAPIEN PowerShell Studio,<\/a> demonstrated our awesome automation for function and parameter syntax.<\/p>\n<p>Our second video, <a href=\"https:\/\/www.youtube.com\/watch?v=DsNClEXSY6A\" target=\"_blank\">Rewind in PowerShell Studio: A built-in safety net for your scripts<\/a>, describes the <strong>Rewind<\/strong> and <strong>Create Restore Point<\/strong> features, which help you recover to a previous version of a script &#8212; or any PowerShell Studio file &#8212; even if you&#8217;ve saved, or closed and reopened the file multiple times. And, the video shows you how to use these features in a real-world scenario.<\/p>\n<p>You can find all of our videos on the <a href=\"https:\/\/www.youtube.com\/channel\/UCyWgqDFaISBz_lA65FiM7Ng\" target=\"_blank\">SAPIEN Technologies YouTube channel<\/a>. To be sure not to miss any of them, <a href=\"http:\/\/www.youtube.com\/subscription_center?add_user=SapienTech\" target=\"_blank\">subscribe<\/a>!<\/p>\n<p>I hope you like these videos. As always, I really appreciate comments, suggestions and ideas.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The newest video in our &#8220;Check out this feature&#8221; series is actually an answer to a great question that was posed to me on Reddit. A PowerShell GUI with a Fixed-Size UI shows you how to use the features of PowerShell Studio to\u00a0create a PowerShell GUI app that the end-user cannot resize. &nbsp; A fixed-size [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[932,2,946,703,1045,25],"tags":[28,988,1016,110,743],"class_list":["post-10567","post","type-post","status-publish","format-standard","hentry","category-beginners","category-general","category-guiprogramming","category-powershell-studio","category-videos","category-windows-powershell","tag-powershell","tag-powershell-gui","tag-powershell-studio","tag-video","tag-videos"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=10567"}],"version-history":[{"count":3,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10567\/revisions"}],"predecessor-version":[{"id":10572,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10567\/revisions\/10572"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=10567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=10567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=10567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}