<?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 How to set my Text Box Visibility(&amp;quot;Collapse&amp;quot;) by JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801168#M97676</link>
    <description>&lt;DIV&gt;I had a JSL for creating a window to show many &lt;SPAN&gt;Graph Builders, due to I used where language to filter data, the new window will auto creat a Text Box(" Where&amp;nbsp;&amp;nbsp;:CID == a[1][g] &amp;amp; :VARABLE == a[2][g]&amp;nbsp; &amp;amp; :WNDOW==a[3][g]&amp;nbsp; &amp;amp; :SATISTIC==a[4][g] &amp;amp; :CLLECTION_NAME==a[5][g]"), I want to set this Text Box property "Collapse", Can you give me a solution, thanks a lot.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Data Table( "FSS" ):RUN_START_DATE &amp;lt;&amp;lt; Data Type(Numeric,Format( "yyyymmdd", 8 ),Input Format( "yyyymmdd" )) &amp;lt;&amp;lt; Set Modeling Type( "Continuous" );&lt;/DIV&gt;&lt;DIV&gt;summarize(a=by(:CED,:VARABLE,:WNDOW,:SATISTIC,:CLLECTION_NAME),b=min(:LOWER_CRITICAL),c=max(:UPPER_CRITICAL));&lt;/DIV&gt;&lt;DIV&gt;n=nitems(b);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FDCD=new window("FDC", vlb=v list Box());&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;For( i = 1, i &amp;lt;= n, i=i+j-1,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;hlb= h List Box(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for(j=1, j&amp;lt;=4,j++,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;g=i+j-1; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;graph = Graph Builder(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Size( 400, 300 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Control Panel( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Title( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Where( :CID == a[1][g] &amp;amp; :VARABLE == a[2][g]&amp;nbsp; &amp;amp; :WNDOW==a[3][g]&amp;nbsp; &amp;amp; :SATISTIC==a[4][g] &amp;amp; :CLLECTION_NAME==a[5][g]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Where( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Variables(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;X( :RUN_START_DATE ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Y( :VALUE ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Group X( :ENTITY ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Overlay( :RECIPE ), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Elements( Points( X, Y, Legend( 10 ) ), Smoother( X, Y, Legend( 11 ) ) ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SendToReport(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"Graph Builder",OutlineBox,{Set Title( a[1][g]||"|"||a[2][g]||"|"||a[3][g]||"|"||a[4][g] ), Image Export Display( Normal )}),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"RUN_START_DATE",ScaleBox,{ Interval( "Day" ),Inc( 3 ), Minor Ticks( 1 )}),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"VALUE",ScaleBox,{//Max(c[i]+(c[i]-b[i])*0.1,:VALUE*1.1), Min( b[i]+(c[i]-b[i])*0.1,:VALUE*0.9 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Add Ref Line( c[g], "Dashed", "Red", "UCL", 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Add Ref Line( b[g], "Dashed", "Red", "LCL", 1 )})&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vlb&amp;lt;&amp;lt;append(hlb);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Sep 2024 14:41:44 GMT</pubDate>
    <dc:creator>cubji1</dc:creator>
    <dc:date>2024-09-21T14:41:44Z</dc:date>
    <item>
      <title>How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801168#M97676</link>
      <description>&lt;DIV&gt;I had a JSL for creating a window to show many &lt;SPAN&gt;Graph Builders, due to I used where language to filter data, the new window will auto creat a Text Box(" Where&amp;nbsp;&amp;nbsp;:CID == a[1][g] &amp;amp; :VARABLE == a[2][g]&amp;nbsp; &amp;amp; :WNDOW==a[3][g]&amp;nbsp; &amp;amp; :SATISTIC==a[4][g] &amp;amp; :CLLECTION_NAME==a[5][g]"), I want to set this Text Box property "Collapse", Can you give me a solution, thanks a lot.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Data Table( "FSS" ):RUN_START_DATE &amp;lt;&amp;lt; Data Type(Numeric,Format( "yyyymmdd", 8 ),Input Format( "yyyymmdd" )) &amp;lt;&amp;lt; Set Modeling Type( "Continuous" );&lt;/DIV&gt;&lt;DIV&gt;summarize(a=by(:CED,:VARABLE,:WNDOW,:SATISTIC,:CLLECTION_NAME),b=min(:LOWER_CRITICAL),c=max(:UPPER_CRITICAL));&lt;/DIV&gt;&lt;DIV&gt;n=nitems(b);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FDCD=new window("FDC", vlb=v list Box());&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;For( i = 1, i &amp;lt;= n, i=i+j-1,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;hlb= h List Box(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for(j=1, j&amp;lt;=4,j++,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;g=i+j-1; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;graph = Graph Builder(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Size( 400, 300 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Control Panel( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Title( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Where( :CID == a[1][g] &amp;amp; :VARABLE == a[2][g]&amp;nbsp; &amp;amp; :WNDOW==a[3][g]&amp;nbsp; &amp;amp; :SATISTIC==a[4][g] &amp;amp; :CLLECTION_NAME==a[5][g]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Show Where( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Variables(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;X( :RUN_START_DATE ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Y( :VALUE ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Group X( :ENTITY ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Overlay( :RECIPE ), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Elements( Points( X, Y, Legend( 10 ) ), Smoother( X, Y, Legend( 11 ) ) ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SendToReport(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"Graph Builder",OutlineBox,{Set Title( a[1][g]||"|"||a[2][g]||"|"||a[3][g]||"|"||a[4][g] ), Image Export Display( Normal )}),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"RUN_START_DATE",ScaleBox,{ Interval( "Day" ),Inc( 3 ), Minor Ticks( 1 )}),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dispatch({},"VALUE",ScaleBox,{//Max(c[i]+(c[i]-b[i])*0.1,:VALUE*1.1), Min( b[i]+(c[i]-b[i])*0.1,:VALUE*0.9 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Add Ref Line( c[g], "Dashed", "Red", "UCL", 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Add Ref Line( b[g], "Dashed", "Red", "LCL", 1 )})&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vlb&amp;lt;&amp;lt;append(hlb);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 14:41:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801168#M97676</guid>
      <dc:creator>cubji1</dc:creator>
      <dc:date>2024-09-21T14:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801178#M97677</link>
      <description>&lt;P&gt;Plenty of old posts which have solutions for this. My preferred method is to use XPath&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("",
	V List Box(
		gb = dt &amp;lt;&amp;lt; Graph Builder(
			Show Control Panel(0),
			Variables(X(:weight), Y(:height), Overlay(:sex)),
			Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
			Where(:sex == "M")
		),
		gb = dt &amp;lt;&amp;lt; Graph Builder(
			Show Control Panel(0),
			Variables(X(:weight), Y(:height), Overlay(:sex)),
			Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
			Where(:sex == "F")
		)
	)
);

wait(1);

where_teb = nw &amp;lt;&amp;lt; XPath("//TextBox[contains(text(), 'Where(')]");
where_teb &amp;lt;&amp;lt; Visibility("Collapse");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can make the XPath more robust if you know which column is used for filtering or which values are being filtered&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 14:50:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801178#M97677</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-09-21T14:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801179#M97678</link>
      <description>&lt;P&gt;a very good post to start with:&lt;BR /&gt;&lt;LI-MESSAGE title="Getting correct answers to correct questions quickly" uid="550097" url="https://community.jmp.com/t5/Discussions/Getting-correct-answers-to-correct-questions-quickly/m-p/550097#U550097" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=how+to+remove+where++site%3Acommunity.jmp.com" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=how+to+remove+where++site%3Acommunity.jmp.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/td-p/368736" target="_blank" rel="noopener"&gt;Remove "where(...)" text in report&lt;/A&gt;&lt;/FONT&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1726931167927.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68510iA41E8849108B8AE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1726931167927.png" alt="hogi_0-1726931167927.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;SPAN&gt;JMP User Community&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;17.03.2021&amp;nbsp;—&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Here is an example of a report that has a where clause and the code that deletes it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://community.jmp.com/t5/Discussions/how-to-remove-quot-Where-quot-from-graph-builder-report-window/td-p/64734" target="_blank" rel="noopener"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;A href="https://community.jmp.com/t5/Discussions/how-to-remove-quot-Where-quot-from-graph-builder-report-window/td-p/64734" target="_blank" rel="noopener"&gt;how to remove "Where" from graph builder report window&lt;/A&gt;&lt;/FONT&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1726931167928.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68509iCF2A7968760721DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1726931167928.png" alt="hogi_1-1726931167928.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;SPAN&gt;JMP User Community&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;29.07.2018&amp;nbsp;—&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;All you need to do, is to find the top of the display tree, and then&amp;nbsp;&lt;EM&gt;delete&lt;/EM&gt;&amp;nbsp;the first text box, which is the display of the Where clause.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-remove-quot-where-quot-condition-from-Contol-Chart/td-p/13525" target="_blank" rel="noopener"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-remove-quot-where-quot-condition-from-Contol-Chart/td-p/13525" target="_blank" rel="noopener"&gt;How to remove "where" condition from Contol Chart displays.&lt;/A&gt;&lt;/FONT&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1726931167928.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68511iFFFDA321F64A0196/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1726931167928.png" alt="hogi_2-1726931167928.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;SPAN&gt;JMP User Community&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Solved: Hello, I'm plotting three different charts(IR,EWMA &amp;amp; CUSUM) in a single window but the problem I'm facing is it's displaying the where.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Deleting-quot-Where-quot-text-box-with-JSL/td-p/247399" target="_blank" rel="noopener"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Deleting-quot-Where-quot-text-box-with-JSL/td-p/247399" target="_blank" rel="noopener"&gt;Deleting "Where" text box with JSL&lt;/A&gt;&lt;/FONT&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1726931167928.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68513i2673F71BC4E614FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_3-1726931167928.png" alt="hogi_3-1726931167928.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;SPAN&gt;JMP User Community&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;13.02.2020&amp;nbsp;—&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;While running script with "where" function, a text box is added to report. What is the&amp;nbsp;&lt;EM&gt;way to delete&lt;/EM&gt;&amp;nbsp;it? Is there some way to "not create" it instead of delete&amp;nbsp;...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://community.jmp.com/t5/Discussions/how-to-remove-quot-Where-quot-from-graph-builder-report-window/td-p/64734/lang/code/en-US" target="_blank" rel="noopener"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;A href="https://community.jmp.com/t5/Discussions/how-to-remove-quot-Where-quot-from-graph-builder-report-window/td-p/64734/lang/code/en-US" target="_blank" rel="noopener"&gt;how to remove "Where" from graph builder report window&lt;/A&gt;&lt;/FONT&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1726931167929.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68512i649B5346DB3DE020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_4-1726931167929.png" alt="hogi_4-1726931167929.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;JMP User Community&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;29.07.2018&amp;nbsp;—&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the output creates a text above the outline box "Where parameter=param", i would like to&amp;nbsp;&lt;EM&gt;remove&lt;/EM&gt;&amp;nbsp;that. how can i do that?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 15:12:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/801179#M97678</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-09-21T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/921834#M108052</link>
      <description>&lt;P&gt;I realize that this is an old post, but I am trying to use this method to remove the "Where" statements from the control charts I am generating, but my XPath expression seems to always come back with an empty list, even if I cut back to only search for TextBox objects with no filtering criteria. To give an overview of my script, I have a stacked data table. I start by making a window and inserting a VListBox.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;CtrlChart = New Window("Trend Charts",
	vlbreport = V List Box("Trend Review");
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then, I use a loop to append control charts to vlbreport as individual V List Boxes.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;vlbreport &amp;lt;&amp;lt; Append(
			V List Box(
				Control Chart Builder( **Control chart setting here) ); );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then after a wait command to ensure the window is fully populated, I am trying to use XPath to simply feed back all Text Boxes, but I keep coming up empty.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;allbox = CtrlChart &amp;lt;&amp;lt; XPath("//Textbox");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Currently, allbox is being returned as {}. If I use Show Tree Structure on CtrlChart, I can see the full structure, including all the TextBox objects within, but it just isn't selecting anything. Do you have any insights into why this is happening? I like the idea of using XPath to isolate the Where boxes because it is a truly dynamic solution that can be applied to all of my scripts that are formatted this way. However, I have little to no familiarity with XPath. My scripting knowledge in general has come from a lot of trial and error, googling, and the scripting guide.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 20:33:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/921834#M108052</guid>
      <dc:creator>jevanove</dc:creator>
      <dc:date>2025-12-31T20:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/921906#M108058</link>
      <description>&lt;P&gt;It is Text&lt;STRONG&gt;B&lt;/STRONG&gt;ox not Text&lt;STRONG&gt;b&lt;/STRONG&gt;ox (capital B) in the XPath&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

cols = {"NPN1", "PNP1", "PNP2"};


nw = New Window("Trend Charts",
	vlb = V List Box()
);


For Each({colname}, cols,
	vlb &amp;lt;&amp;lt; Append(
		ccb = dt &amp;lt;&amp;lt; Control Chart Builder(
			Show Limit Summaries(0),
			Show Capability(0),
			Variables(Y(Eval(colname))),
			Show Control Panel(0),
			Where(:Site == 1)
		)
	);
);



Show(nw &amp;lt;&amp;lt; XPath("//Textbox[contains(text(), 'Where(')]"));
Show(nw &amp;lt;&amp;lt; XPath("//TextBox[contains(text(), 'Where(')]"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Jan 2026 08:16:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/921906#M108058</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-01-01T08:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my Text Box Visibility("Collapse") by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/922031#M108070</link>
      <description>&lt;P&gt;Such a simple oversight. Thanks for catching that! It is working for me now and I couldn't be happier, those text boxes are expecially annoying when exporting charts to a PPT. JMP really needs a setting to hide them so this kind of workaround wouldn't be necessary.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 15:43:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-my-Text-Box-Visibility-quot-Collapse-quot-by-JSL/m-p/922031#M108070</guid>
      <dc:creator>jevanove</dc:creator>
      <dc:date>2026-01-02T15:43:42Z</dc:date>
    </item>
  </channel>
</rss>

