<?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: Hide Window Contents in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40911#M23867</link>
    <description>&lt;P&gt;Here is the method that I use to Hide and UnHide items within a Display Window&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

HiddenButton = Button Box( "hidden" );

New Window( "Hidden",
	modal,
	MyVLB = V List Box(
		ViewingBB = Button Box( "Click to UnHide",
			ViewingBB &amp;lt;&amp;lt; delete;
			MyVLB &amp;lt;&amp;lt; append( HiddenButton );
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Jun 2017 02:11:42 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-06-21T02:11:42Z</dc:date>
    <item>
      <title>Hide Window Contents</title>
      <link>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40908#M23865</link>
      <description>&lt;P&gt;I am attempting to use a button press to reveal the remaining information for a window. The user will pick a date range and that date range will be used to ping a SQL server to populate a table containing data from the matching range. Then I want to be able to use data from the table to allow the user to then make a second selection. This selection will further narrow the table down at which point it would be displayed. I am attempting to use the &lt;FONT face="courier new,courier"&gt;Unhide Next Item&lt;FONT face="arial,helvetica,sans-serif"&gt; with a Button Box, but the items I am trying to hide do not understand the &lt;FONT face="courier new,courier"&gt;&amp;lt;&amp;lt;hide&lt;FONT face="arial,helvetica,sans-serif"&gt; command. Is there a better way to do this? From what I can tell only Text Boxes can be hidden?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;New Window("XYZTEC Data Pull",
	&amp;lt;&amp;lt;Modal,
	Text Box("XYZTEC Data Pull", Set Font Style("Bold"), Set Font Size(16)),
	Text Box(" "),	// places blank line beneath title
	Text Box("Select Date Range: ", Set Font Style("Bold Underline")),
	H List Box(
		V List Box(
			Text Box("Start Date:"),
			sDate = Number Edit Box((Today() - 31536000), 9, &amp;lt;&amp;lt; Set Format(Format("m/d/y")))
		),
		V List Box(
			Text Box("          ")
		),
		V List Box(
			Text Box("End Date"),
			eDate = Number Edit Box(Today(), 9, &amp;lt;&amp;lt; Set Format(Format("m/d/y")))
		)
	),
	Text Box(" "),	// place blank line beneath date select
	Outline Box("",
		getDates = Button Box("Confirm Date Range",
			getDates &amp;lt;&amp;lt; Set Button Name("Working...");
			sDate = sDate &amp;lt;&amp;lt; Get;
			eDate = eDate &amp;lt;&amp;lt; Get;
			m1517t = include("m1517t.jsl");
			m1774t = include("m1774t.jsl");
			m1517t &amp;lt;&amp;lt; Concatenate(m1774t, Keep Formulas, Output Table Name("XYZTEC Data Pull"), Invisible);
			Summarize(L = By(:Method Name));
			show(L);
			getDates &amp;lt;&amp;lt; Unhide Next Item;
			getDates &amp;lt;&amp;lt; Set Button Name("Complete");
			dt = Current Data Table()
			),
		V List Box("",
			ComboBox(L),
			H List Box(Button Box("OK", flag = 1), Button Box("Cancel", flag = 0)),
			&amp;lt;&amp;lt;hide
		)
	)
);

If(flag == 0, Stop());&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 23:19:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40908#M23865</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2017-06-20T23:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Window Contents</title>
      <link>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40911#M23867</link>
      <description>&lt;P&gt;Here is the method that I use to Hide and UnHide items within a Display Window&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

HiddenButton = Button Box( "hidden" );

New Window( "Hidden",
	modal,
	MyVLB = V List Box(
		ViewingBB = Button Box( "Click to UnHide",
			ViewingBB &amp;lt;&amp;lt; delete;
			MyVLB &amp;lt;&amp;lt; append( HiddenButton );
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Jun 2017 02:11:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40911#M23867</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-21T02:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Window Contents</title>
      <link>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40930#M23883</link>
      <description>&lt;P&gt;Jim's solution offers a lot of flexibility. I often use the Visibility( "Visible" | "Hidden" | "Collapse" ) display box attribute when simple is sufficient. You can set this initially as in&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "You Can't See Me",
Button Box( "I'm Hiding", expression, &amp;lt;&amp;lt; Visibility( "Collapse" ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then I use a script or function in another control to make the button visible. You can also leave the button visible but disable it. It depends oh the design of your user interface.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 11:18:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/40930#M23883</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-06-21T11:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Window Contents</title>
      <link>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/41154#M23992</link>
      <description>&lt;P&gt;Both of these seem to be able to do what I want, however Mark's solution was easier for me to implement the way I wanted. I think if this was a more critical program Jim's solution could provide a cleaner result. However, Mark's works awesome for what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 20:54:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hide-Window-Contents/m-p/41154#M23992</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2017-06-23T20:54:35Z</dc:date>
    </item>
  </channel>
</rss>

