<?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: Getting a border box to appear on a button press. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Getting-a-border-box-to-appear-on-a-button-press/m-p/517478#M74379</link>
    <description>&lt;P&gt;Here is one way this can be achieved.&amp;nbsp; As a side note -- it can be easier to understand the tree structure if you put commas at the level of the enclosing fence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "test", 
	window:title = Text Box( "test", set font style( "Bold" ) )
, 
	window:hlb = H List Box(
		V List Box(
			window:lb = List Box( {"Test"}, Width( 150 ), N Lines( 18 ) )
		)
	)
, 	
	H List Box(
		window:Button = Button Box( "Test",
			window:hlb &amp;lt;&amp;lt; Append(
				Border Box( Sides( 15 ), Left( 50 ), Right( 50 ), Top( 0 ), Bottom( 50 ),
					Text Box( "Test" )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Jul 2022 17:28:21 GMT</pubDate>
    <dc:creator>ErraticAttack</dc:creator>
    <dc:date>2022-07-04T17:28:21Z</dc:date>
    <item>
      <title>Getting a border box to appear on a button press.</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-a-border-box-to-appear-on-a-button-press/m-p/517465#M74376</link>
      <description>&lt;P&gt;I am trying to open up a border box to the right of my list box on a button press, how can this be achieved? I have attached my attempted code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window("test",

		title = Text Box("test", set font style("Bold")),
			
		V List Box(
			lb = List Box( "Test", width(150),nlines( 18 ) ),
		),
		
		H List Box(
			Button = Button Box("Test",
				Spacer Box(Size(50, 25)),
				Border Box(
				Left(50), Right(50), Top(0), Bottom(50), Sides(50), Text Box("Test"),
			),
		),	
	),
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:03:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-a-border-box-to-appear-on-a-button-press/m-p/517465#M74376</guid>
      <dc:creator>Andyon98</dc:creator>
      <dc:date>2023-06-09T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a border box to appear on a button press.</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-a-border-box-to-appear-on-a-button-press/m-p/517478#M74379</link>
      <description>&lt;P&gt;Here is one way this can be achieved.&amp;nbsp; As a side note -- it can be easier to understand the tree structure if you put commas at the level of the enclosing fence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "test", 
	window:title = Text Box( "test", set font style( "Bold" ) )
, 
	window:hlb = H List Box(
		V List Box(
			window:lb = List Box( {"Test"}, Width( 150 ), N Lines( 18 ) )
		)
	)
, 	
	H List Box(
		window:Button = Button Box( "Test",
			window:hlb &amp;lt;&amp;lt; Append(
				Border Box( Sides( 15 ), Left( 50 ), Right( 50 ), Top( 0 ), Bottom( 50 ),
					Text Box( "Test" )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2022 17:28:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-a-border-box-to-appear-on-a-button-press/m-p/517478#M74379</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-07-04T17:28:21Z</dc:date>
    </item>
  </channel>
</rss>

