<?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: JSL: How to change Button Box hover color in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888793#M105109</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for your reply and solution. Yeah, I suspected this was not going to be something that was particularly easy to change because it seems to be something built into JMP and not an option that can be changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Anyway, your solution definitely works and does what I was after, but would be very challenging to implement in the code I'm working on. It's good to know that there is a work around in JSL.&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>Wed, 23 Jul 2025 15:37:39 GMT</pubDate>
    <dc:creator>SDF1</dc:creator>
    <dc:date>2025-07-23T15:37:39Z</dc:date>
    <item>
      <title>JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888556#M105083</link>
      <description>&lt;P&gt;Hello JMP users and scripters,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I was just curious if anyone knew whether or not the color of a button box (when hovering over it) can be customized -- either through File &amp;gt; Preferences, or through JSL with your own code. See the "OK" button box in the image below -- it changes to a light blue color when you hover over it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1753203284878.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78675i0A15EB0BE50B88B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1753203284878.png" alt="SDF1_0-1753203284878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried searching through the scripting guide PDF and Scripting Index, but couldn't find anything about the hover color of a button box.&amp;nbsp;I know the background color can be changed, but that's not what I'm after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After reading the Scripting Guide, it seems like it is only a preferences thing, but I couldn't find anything there either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any suggestions!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 17:17:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888556#M105083</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2025-07-22T17:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888569#M105084</link>
      <description>&lt;P&gt;I don't think you can really change any coloring on the buttons. If you really need different coloring, you could script your own button (I would use JMP class for something like this) using Mouse box + Text Box and maybe some other display boxes for styling.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("Example",
	H List Box(
		btn = Button Box("Press Me"),
		Mouse Box(
			Border Box(
				Left(2), Right(2), Top(1), Bottom(1), 
				Sides(15), 
				&amp;lt;&amp;lt; Set Background Color("Light Gray"),
				tb = Text Box("Press Me")
			)
			, &amp;lt;&amp;lt;setTrackEnable(1)
			, &amp;lt;&amp;lt;settrack(
				Function({this, pos},
					(this &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; Set Background Color(If(pos[1] &amp;gt;= 0, "Light Blue", "Light Gray"))
				)
			)
			, &amp;lt;&amp;lt; SetClickEnable(1)
			, &amp;lt;&amp;lt;setClick(/* button-down, move, button-release handler */
				Function({this, clickpt, event}, 
					If(event == "Pressed",
						show(this, clickpt, event);
					);
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jul 2025 18:04:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888569#M105084</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-07-22T18:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888793#M105109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for your reply and solution. Yeah, I suspected this was not going to be something that was particularly easy to change because it seems to be something built into JMP and not an option that can be changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Anyway, your solution definitely works and does what I was after, but would be very challenging to implement in the code I'm working on. It's good to know that there is a work around in JSL.&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>Wed, 23 Jul 2025 15:37:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/888793#M105109</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2025-07-23T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889221#M105127</link>
      <description>&lt;P&gt;The button colors are determined by your Windows operating system colors.&amp;nbsp; In this case, changing the accent color in Windows Settings would change the button color in JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 13:47:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889221#M105127</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2025-07-24T13:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889245#M105129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3022"&gt;@briancorcoran&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for the additional information. Is this something that could be changed to become a customizable feature in JMP? Just curious.&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>Thu, 24 Jul 2025 15:41:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889245#M105129</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2025-07-24T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to change Button Box hover color</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889246#M105130</link>
      <description>&lt;P&gt;We usually don't want to go against the operating system button settings, because they provide accessibility functionality like High Contrast for those that have sight impairments.&amp;nbsp; However, you can always make a request at the JMP Wish List at&amp;nbsp;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/idb-p/jmp-wish-list" target="_blank"&gt;https://community.jmp.com/t5/JMP-Wish-List/idb-p/jmp-wish-list&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Brian Corcoran (JMP)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 15:46:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-change-Button-Box-hover-color/m-p/889246#M105130</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2025-07-24T15:46:29Z</dc:date>
    </item>
  </channel>
</rss>

