<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: %WINDOW, cannot control window size or position in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300845#M63587</link>
    <description>&lt;P&gt;You may need to check your log. I got an ERROR on the value you provide for AUTOSKIP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After correcting the error on autoskip I see a window that is the specified size and honors IROW though it wants to appear behind my LOG window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is running 9.2 on Windows 7.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2016 19:35:58 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-09-26T19:35:58Z</dc:date>
    <item>
      <title>%WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300834#M63586</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone know why ROW and COLUMN might not work? &amp;nbsp;I use simple UI windows like this and ROWS, COLUMNS, IROW and ICOLUMN have never worked for me. &amp;nbsp;They just appear full-screen no matter what.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;** DEFINE UI WINDOW **; &lt;BR /&gt;%window cont1 color=green rows=10 columns= 40&lt;BR /&gt; #4 @10 "CONTINUE?: " cont 1 attr=underline attr=rev_video autoskip=Y&lt;BR /&gt; #6 @10 "Enter N to stop"; &lt;BR /&gt; &lt;BR /&gt;** CALL THE WINDOW AND CONTINUE IF DESIRED **;&lt;BR /&gt;%macro call_window ;&lt;BR /&gt; %let cont = Y;&lt;BR /&gt; %display cont1;&lt;BR /&gt; %if &amp;amp;cont = N or &amp;amp;cont = n %then&lt;BR /&gt; %do;&lt;BR /&gt; %abort cancel;&lt;BR /&gt; %end;&lt;BR /&gt;%mend;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%call_window;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using SAS 9.2 on PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 18:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300834#M63586</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-26T18:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300845#M63587</link>
      <description>&lt;P&gt;You may need to check your log. I got an ERROR on the value you provide for AUTOSKIP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After correcting the error on autoskip I see a window that is the specified size and honors IROW though it wants to appear behind my LOG window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is running 9.2 on Windows 7.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 19:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300845#M63587</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-26T19:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300848#M63588</link>
      <description>&lt;P&gt;Thanks for testing it. &amp;nbsp;I corrected the error (Y-&amp;gt;YES) and I still get full screen. &amp;nbsp;I'm using Windows 7 too. &amp;nbsp;Oh well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact autoskip doesn't do anything in this case, so I took it out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 19:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300848#M63588</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-26T19:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300877#M63597</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;Ensure that he Editor window is NOT maximized to fill the SAS display area. Then try the %call_window macro.&lt;/P&gt;
&lt;P&gt;I think the %window command may inherit the property of maximized if the editor is.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/300877#M63597</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-26T21:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301039#M63660</link>
      <description>&lt;P&gt;You're right!! Mystery solved! &amp;nbsp;I always maximize the program editor and other windows. &amp;nbsp;It makes me crazy the way SAS resizes them automatically. Thank you! &amp;nbsp;I wish I could override that so that just this one is not maximized. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301039#M63660</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-27T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301062#M63665</link>
      <description>&lt;P&gt;It took me a bit to figure it out because I almost never maximize any window regardless of application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You &lt;STRONG&gt;might&lt;/STRONG&gt; be able to incorporate the ZOOM command into your macro to turn maximization off. Might. DM commands seem to get flakier with each Windows "upgrade" so if you are using Windows it may take some experimentation. I suspect the macro would contain the open window bit and then zoom off but that's a guess at this point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301062#M63665</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-27T15:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: %WINDOW, cannot control window size or position</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301078#M63669</link>
      <description>&lt;P&gt;Ok, thanks for your help. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 17:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WINDOW-cannot-control-window-size-or-position/m-p/301078#M63669</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-27T17:12:30Z</dc:date>
    </item>
  </channel>
</rss>

