<?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: Change cursor position in display window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70371#M15231</link>
    <description>What if you load a pmenu to make the command line go away?</description>
    <pubDate>Wed, 24 Mar 2010 22:17:55 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2010-03-24T22:17:55Z</dc:date>
    <item>
      <title>Change cursor position in display window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70369#M15229</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm using %window and %display macro statements to create a user interface such that the user can enter the data directly in the display window which is stored in a macro variable. &lt;BR /&gt;
&lt;BR /&gt;
However, when &lt;U&gt;batch&lt;/U&gt; submitted, the cursor position is at the first row after the text 'Command ===&amp;gt;'. Is there a way we can have the cursor at data entry field?&lt;BR /&gt;
&lt;BR /&gt;
For e.g.&lt;BR /&gt;
&lt;BR /&gt;
%window main icolumn=25 irow=12 columns=70 rows=20 color=white &lt;BR /&gt;
	#5 @10 'Enter Patient Number: ' color=black pt 4 required=yes a=(underline, highlight) color=orange display=yes autoskip=yes;&lt;BR /&gt;
run;&lt;BR /&gt;
%display main blank ;</description>
      <pubDate>Tue, 23 Mar 2010 17:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70369#M15229</guid>
      <dc:creator>NickR</dc:creator>
      <dc:date>2010-03-23T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change cursor position in display window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70370#M15230</link>
      <description>Hi:&lt;BR /&gt;
  My %WINDOW days are long gone, ever since SAS/FSP, FSLETTER and SAS/AF came into the world. However, this paper does have some examples of using %WINDOW:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf&lt;/A&gt;&lt;BR /&gt;
(this is from SUGI 24, which was partying like it was 1999 -- which it was) -- so you have some idea of how old %WINDOW is.&lt;BR /&gt;
&lt;BR /&gt;
And then this one from SUGI 27 was in 2002:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi27/p192-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p192-27.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, there's always the documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000206734.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000206734.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000209050.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000209050.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000209053.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a000209053.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Or, work with Tech Support. But honestly, %WINDOW is not something that many people use these days.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 24 Mar 2010 00:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70370#M15230</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-24T00:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change cursor position in display window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70371#M15231</link>
      <description>What if you load a pmenu to make the command line go away?</description>
      <pubDate>Wed, 24 Mar 2010 22:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70371#M15231</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2010-03-24T22:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change cursor position in display window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70372#M15232</link>
      <description>About the only way is to attach a pmenu so that the command line does not show up, for example:&lt;BR /&gt;
&lt;BR /&gt;
libname temp 'c:\';&lt;BR /&gt;
                                                                                                                     &lt;BR /&gt;
proc pmenu catalog=temp.menus; &lt;BR /&gt;
   menu simple;  &lt;BR /&gt;
   item end; &lt;BR /&gt;
run;                                                                                                                  &lt;BR /&gt;
&lt;BR /&gt;
%window main icolumn=25 irow=12 columns=70 rows=20 color=white menu=temp.menus.simple                                                   &lt;BR /&gt;
#5 @10 'Enter Patient Number: ' color=black pt 4 required=yes a=(underline, highlight) color=orange display=yes autoskip=yes;           &lt;BR /&gt;
run;                                                                                                                                    &lt;BR /&gt;
%display main blank ;</description>
      <pubDate>Thu, 25 Mar 2010 17:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70372#M15232</guid>
      <dc:creator>Russ_SAS</dc:creator>
      <dc:date>2010-03-25T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change cursor position in display window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70373#M15233</link>
      <description>Thank you both!!! This is exactly what I want.</description>
      <pubDate>Fri, 26 Mar 2010 19:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-cursor-position-in-display-window/m-p/70373#M15233</guid>
      <dc:creator>NickR</dc:creator>
      <dc:date>2010-03-26T19:44:23Z</dc:date>
    </item>
  </channel>
</rss>

