<?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 Can you resize radio boxes? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/422955#M67206</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I've been looking to see if it's possible to resize radio boxes or the panel box that the radio box is in. So far, it seems that it's only possible to resize panel boxes if they contain list boxes, but not radio boxes. If you do it at the Panel Box() or Radio Box() level, the contents are empty in the panel box. If you define the Radio Box() as a variable, say "rb" and then call rb &amp;lt;&amp;lt; Set width(xxxx), nothing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm hoping to change the width of the radio box in my popup window, and maybe also change the wrap setting for the radio box().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some example code I'm working with to try and change the width.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

nwin = New Window( "This is a window",
	Panel Box( "Options", rb = Radio Box( {"Option A", "Option B", "Option C"} )	 )	
);
Wait(2);
rb&amp;lt;&amp;lt;set width(10);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 19:58:19 GMT</pubDate>
    <dc:creator>SDF1</dc:creator>
    <dc:date>2023-06-09T19:58:19Z</dc:date>
    <item>
      <title>Can you resize radio boxes?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/422955#M67206</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I've been looking to see if it's possible to resize radio boxes or the panel box that the radio box is in. So far, it seems that it's only possible to resize panel boxes if they contain list boxes, but not radio boxes. If you do it at the Panel Box() or Radio Box() level, the contents are empty in the panel box. If you define the Radio Box() as a variable, say "rb" and then call rb &amp;lt;&amp;lt; Set width(xxxx), nothing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm hoping to change the width of the radio box in my popup window, and maybe also change the wrap setting for the radio box().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some example code I'm working with to try and change the width.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

nwin = New Window( "This is a window",
	Panel Box( "Options", rb = Radio Box( {"Option A", "Option B", "Option C"} )	 )	
);
Wait(2);
rb&amp;lt;&amp;lt;set width(10);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:58:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/422955#M67206</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-06-09T19:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you resize radio boxes?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/422963#M67209</link>
      <description>&lt;P&gt;Here are 2 methods of changing the width.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1633114118719.png" style="width: 414px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36240i2B305FDBAD9D1F98/image-dimensions/414x493?v=v2" width="414" height="493" role="button" title="txnelson_0-1633114118719.png" alt="txnelson_0-1633114118719.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All of the messages that can be passed to an object are detailed in the Scripting Index.&amp;nbsp; Look for Panel Box or Radio Box&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

nwin = New Window( "This is a window",
	Panel Box( "Options",
		H List Box(
			rb = Radio Box(
				{"Option A", "Option B", "Option C"}
			),
			Spacer Box( size( 300, 1 ) )
		)
	)
);

// or using a non printable character

nwin = New Window( "This is a window",
	Panel Box( "Options",
		rb = Radio Box(
			{"Option A        \!t", "Option B", "Option C"}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Oct 2021 18:50:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/422963#M67209</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-10-01T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can you resize radio boxes?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/423005#M67211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the examples on how to change the width. For aesthetic reasons in the actual window I'm working on, I would like to shrink the width down and then have the text after the radio button to wrap to the next line. From what I can tell reading in my Scripting Guide and from online posts, that aspect of radio boxes is not an option. Ultimately, I'd like to be able to do something like with Text Boxes where you can send &amp;lt;&amp;lt;Set Width ()&amp;lt;&amp;lt;Set Wrap() to adjust the visual&amp;nbsp; display of the Button Box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 19:23:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-resize-radio-boxes/m-p/423005#M67211</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2021-10-01T19:23:56Z</dc:date>
    </item>
  </channel>
</rss>

