<?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: Set Text Box Font to &amp;quot;Light&amp;quot; style in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396295#M64700</link>
    <description>&lt;P&gt;Gentlemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your generous time. &lt;STRONG&gt;Your suggestions worked&lt;/STRONG&gt;. This was helpful since I have several Expressions which are image and title sub blocks that integrate into a final image that gets copied to PowerPoint (script attached with your solution).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, I tripped across a possible alternate approach (via Scripting Guide - p. 558) using HTML Tags. I tried this&amp;nbsp; which works as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again I'm very grateful for your valuable time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; text = Expr(
			H List Box(		
				spacer box(),
				y = Text Box("Footer", 
				&amp;lt;&amp;lt; Set Wrap(500),
				&amp;lt;&amp;lt; Set Font("Calibri", 18, "bold"),
				spacer box(),		
			)
		);	

nw6 = Expr(
			V List Box(
				text,
				spacer box(size(5,50)),
				nw4
			)	
		);	

nw7 = New Window("title_7", nw6, y&amp;lt;&amp;lt; Font Color("Gray") );

// ** Alternate **  HTML Tags//

 text = Expr(
			H List Box(		
				spacer box(),
				y = Text Box("&amp;lt;font color='Gray'&amp;gt;Footer&amp;lt;/font&amp;gt;", 
				&amp;lt;&amp;lt; Set Wrap(500),
				&amp;lt;&amp;lt; Set Font("Calibri", 18, "bold"),
				&amp;lt;&amp;lt;Markup),
				spacer box(),		
			)
		);	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Jun 2021 18:25:52 GMT</pubDate>
    <dc:creator>NRW</dc:creator>
    <dc:date>2021-06-26T18:25:52Z</dc:date>
    <item>
      <title>Set Text Box Font to "Light" style</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396133#M64684</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to alter the text in a text box so that the style is lighter than normal font. However, the script piece I attached still does not do the trick. I've tried looking at multiple command variations via Scripting Index, but still can't get it to change. I've tried changing the color to give a light appearance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;conf = Expr(
				H List Box(
					spacer box(),
					y =Text box("Footer",
							&amp;lt;&amp;lt; Set Wrap(500),
							&amp;lt;&amp;lt; Set Font("Calibri", 30, "Light"),	
					),
					spacer box(),	
				));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:15:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396133#M64684</guid>
      <dc:creator>NRW</dc:creator>
      <dc:date>2023-06-11T11:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Text Box Font to "Light" style</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396202#M64690</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/27967"&gt;@NRW&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I am not familiar with Font Style "Light."&amp;nbsp; I would change the font color to gray.&amp;nbsp; See script below,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
New Window("test",

	H List Box(
		Spacer Box(),
		y = Text Box( "Footer", &amp;lt;&amp;lt;Set Wrap( 500 ), &amp;lt;&amp;lt;Set Font( "Calibri", 30 ), ),
		Spacer Box(),

	) 
);
Wait( 2 );
y &amp;lt;&amp;lt; Font Color( "Gray" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 00:09:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396202#M64690</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2021-06-26T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Text Box Font to "Light" style</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396215#M64692</link>
      <description>&lt;P&gt;Many thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order for it to work within the &lt;STRONG&gt;expression&lt;/STRONG&gt; I attached, what needs to be changed? The insertion of the font color, the way I have it does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;conf = Expr(
				H List Box(
					spacer box(),
					y =Text box("Footer",
							&amp;lt;&amp;lt; Set Wrap(500),
							&amp;lt;&amp;lt; Set Font("Calibri", 30),	
					),
					spacer box(),	
				)
y &amp;lt;&amp;lt; Font Color("Gray");
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 00:26:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396215#M64692</guid>
      <dc:creator>NRW</dc:creator>
      <dc:date>2021-06-26T00:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Text Box Font to "Light" style</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396221#M64693</link>
      <description>&lt;P&gt;Here is a structure that I was able to use to get the font color to work&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1624668430357.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33804iE0335DC25D0BA51B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1624668430357.png" alt="txnelson_0-1624668430357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

conf = Expr(
	H List Box(
		Spacer Box(),
		y = Text Box( "Footer", &amp;lt;&amp;lt;Set Wrap( 500 ), &amp;lt;&amp;lt;Set Font( "Calibri", 30 ) ),
		Spacer Box(), 

	);
	
);

New Window( "test", conf, y &amp;lt;&amp;lt; Font Color( "Gray" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 00:47:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396221#M64693</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-06-26T00:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Text Box Font to "Light" style</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396295#M64700</link>
      <description>&lt;P&gt;Gentlemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your generous time. &lt;STRONG&gt;Your suggestions worked&lt;/STRONG&gt;. This was helpful since I have several Expressions which are image and title sub blocks that integrate into a final image that gets copied to PowerPoint (script attached with your solution).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, I tripped across a possible alternate approach (via Scripting Guide - p. 558) using HTML Tags. I tried this&amp;nbsp; which works as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again I'm very grateful for your valuable time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; text = Expr(
			H List Box(		
				spacer box(),
				y = Text Box("Footer", 
				&amp;lt;&amp;lt; Set Wrap(500),
				&amp;lt;&amp;lt; Set Font("Calibri", 18, "bold"),
				spacer box(),		
			)
		);	

nw6 = Expr(
			V List Box(
				text,
				spacer box(size(5,50)),
				nw4
			)	
		);	

nw7 = New Window("title_7", nw6, y&amp;lt;&amp;lt; Font Color("Gray") );

// ** Alternate **  HTML Tags//

 text = Expr(
			H List Box(		
				spacer box(),
				y = Text Box("&amp;lt;font color='Gray'&amp;gt;Footer&amp;lt;/font&amp;gt;", 
				&amp;lt;&amp;lt; Set Wrap(500),
				&amp;lt;&amp;lt; Set Font("Calibri", 18, "bold"),
				&amp;lt;&amp;lt;Markup),
				spacer box(),		
			)
		);	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 18:25:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Text-Box-Font-to-quot-Light-quot-style/m-p/396295#M64700</guid>
      <dc:creator>NRW</dc:creator>
      <dc:date>2021-06-26T18:25:52Z</dc:date>
    </item>
  </channel>
</rss>

