<?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: How do you close a journal? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514526#M74152</link>
    <description>&lt;P&gt;I cannot understand the code you provided, but modal is missing &amp;lt;&amp;lt; &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
If(
	ex = New Window("Dialog() example",
		&amp;lt;&amp;lt;Modal,
		&amp;lt;&amp;lt;Return Result,
		V List Box(
			H List Box("Set this value", variable = Number Edit Box(42)),
			H List Box(Button Box("OK"), Button Box("Cancel"))
		)
	);
	ex["button"] == 1;
,
	ex["variable"],
	"CANCEL"
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 27 Jun 2022 16:39:15 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-06-27T16:39:15Z</dc:date>
    <item>
      <title>How do you close a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514465#M74149</link>
      <description>&lt;P&gt;I saw a similar post suggesting:&lt;/P&gt;&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;window("Journal: Untitled")&amp;lt;&amp;lt;close window&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but unfortunately, this does not work. Does anyone else have anything else I can try? For reference, the journal is untitled.&lt;/P&gt;&lt;P&gt;(Title is: "Journal: Unnamed *VALUE*").&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:02:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514465#M74149</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2023-06-09T17:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you close a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514493#M74150</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Journal() &amp;lt;&amp;lt; Close Window;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;might work. See Scripting Index for cor Current Journal (and for Close All)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:50:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514493#M74150</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-06-27T15:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you close a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514519#M74151</link>
      <description>&lt;P&gt;That worked! one more question, I have a new window but I have something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NewWindow = New Window("Test", jrnl &amp;lt;&amp;lt; Journal(),
modal,

current journal() &amp;lt;&amp;lt; Close Window;&lt;BR /&gt;&lt;BR /&gt;H List Box(&lt;BR /&gt;   buttonone = button box("button one"),&lt;BR /&gt;   buttontwo = button("button two")&lt;BR /&gt;)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It wont recognize modal, is there a reason why? it removes my buttons when I try to use it and gives me an error saying "Unknown"&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 16:01:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514519#M74151</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2022-06-27T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you close a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514526#M74152</link>
      <description>&lt;P&gt;I cannot understand the code you provided, but modal is missing &amp;lt;&amp;lt; &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
If(
	ex = New Window("Dialog() example",
		&amp;lt;&amp;lt;Modal,
		&amp;lt;&amp;lt;Return Result,
		V List Box(
			H List Box("Set this value", variable = Number Edit Box(42)),
			H List Box(Button Box("OK"), Button Box("Cancel"))
		)
	);
	ex["button"] == 1;
,
	ex["variable"],
	"CANCEL"
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jun 2022 16:39:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-you-close-a-journal/m-p/514526#M74152</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-06-27T16:39:15Z</dc:date>
    </item>
  </channel>
</rss>

