<?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: Listbox items are not clickable for some users in JMP 17 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/749426#M92987</link>
    <description>&lt;P&gt;You could contact &lt;A href="https://community.jmp.com/t5/Support/ct-p/jmp-support" target="_blank"&gt;JMP support.&lt;/A&gt; They will most likely ask Install Checker files and some extra information. Also if you get a solution, please post it back here.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 15:05:31 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-04-24T15:05:31Z</dc:date>
    <item>
      <title>JSL: Listbox items are not clickable for some users in JMP 17</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/748357#M92870</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;(I'm not 100% sure whether this is the right forum for this - feel free to move the post / point me in the right direction as required)&lt;/P&gt;&lt;P&gt;We're providing a JMP addin for several dozen users. This addin shows a couple of dialogs and has been working without any problems&lt;BR /&gt;for several years now (we started developing with JMP 14, and upgrades to 15 / 16 didn't pose any problems).&lt;/P&gt;&lt;P&gt;With JMP 17 however, two of our users are having a strange problem. The addin is working per se, but in dialogs that contain&lt;BR /&gt;list boxes, they cannot select any items - it seems that the list box doesn't respond to any events (neither mouse clicks&lt;BR /&gt;nor keyboard-based navigation).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here's a stripped-down version that exhibits the problem (it shows two dialogs - one with a single list box, one with two and a couple of buttons. Neither of them work).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;showSelectDialog = function({process_col}, {Default Local},
	parameter_list = List ("Param1", "Param2", "Param3");
	
	nw = New Window("Select Parameters",
		&amp;lt;&amp;lt;modal,
		Panel Box("Parameter Selection",
			text box("Available parameters", &amp;lt;&amp;lt;set font style( "Bold" )),
			text box("The parameters that have data available for the selected processes and samples.", &amp;lt;&amp;lt; set width(600)),
			text box("Selected parameters", &amp;lt;&amp;lt;set font style( "Bold" )),
			text box("Parameters to be loaded into the DOE file. Preselected are all project specific parameters found in the available parameter list.", &amp;lt;&amp;lt; set width(600)),
		),
		text box(" "),
		H List Box(
			V List Box(
				text Box("Available parameters:", &amp;lt;&amp;lt; set font style( "Bold" ) ),
				paramlist = List Box(parameter_list, width(250), nlines(20))
			),
			V List Box(
				text Box(" "),
				Lineup Box(NCol(1), Spacing(10),
					Button Box("Add &amp;gt;&amp;gt;", select_script),
					Button Box("&amp;lt;&amp;lt; Remove", remove_script)
				)
			),
			V List Box(
				text Box("Selected parameters:", &amp;lt;&amp;lt; set font style( "Bold" ) ),
				select_list = List Box (selected_param_list, width(250), nlines(20));
			)
		),
		hlistbox(
			ok_button = button box("OK",
				selected_param_list = select_list &amp;lt;&amp;lt; Get Items;
			),
			cancel_button = button box("Cancel")
		),
		// Script to add parameters from paramlist to the select_list, [DOE-379] remove from paramlist
		select_script = Expr(
			toappend = paramlist &amp;lt;&amp;lt; Get Selected;
			for(i=1, i&amp;lt;= Nitems(toappend), i++,
				if(!Contains(select_list &amp;lt;&amp;lt; Get Items, toappend[i]),
					select_list &amp;lt;&amp;lt; Append(toappend[i]);
				)
			);
			paramlist &amp;lt;&amp;lt; remove selected;
		);
		// Script to remove parameters from the select_list, [DOE-379] add to paramlist
		remove_script = Expr(
			toremove = select_list &amp;lt;&amp;lt; Get Selected;
			for(i=1, i&amp;lt;= Nitems(toremove), i++,
				if(!Contains(paramlist &amp;lt;&amp;lt; Get Items, toremove[i]),
					paramlist &amp;lt;&amp;lt; Append(toremove[i]);
				)
			);
			//[DOE-379] sort alphabetically
			select_list &amp;lt;&amp;lt; remove selected;
			param_list = paramlist &amp;lt;&amp;lt; Get Items;
			param_list = Sort List (param_list);
			paramlist &amp;lt;&amp;lt; Set Items(param_list);
		);
	);

	if(nw["Button"] != 1,
		dialog_ok = 0,
		dialog_ok = 1
	);

	return(Eval List({selected_param_list, dialog_ok}));
);

showSimpleDialog = function({process_col}, {Default Local},
	parameter_list = List ("Param1", "Param2", "Param3");
	
	nw = New Window("Select Parameters",
		&amp;lt;&amp;lt;modal,
		Panel Box("Parameter Selection",
			text box("Available parameters", &amp;lt;&amp;lt;set font style( "Bold" )),
		),
		text box(" "),
		H List Box(
			V List Box(
				text Box("Available parameters:", &amp;lt;&amp;lt; set font style( "Bold" ) ),
				paramlist = List Box(parameter_list, width(250), nlines(20))
			)
		)
	);
			
if(nw["Button"] != 1,
		dialog_ok = 0,
		dialog_ok = 1
	);
   return(Eval List({dialog_ok}));
);


//===============DATA LOADING &amp;amp; PREPARATION==============
// Get parameters to be loaded
{dialog_ok} = showSimpleDialog("XYZ");
{selected_param_list, dialog_ok} = showSelectDialog("XYZ");&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Here's a video showing the dysfunctional dialogs:&lt;BR /&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6351401001112w1164h540r720" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6351401001112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6351401001112w1164h540r720');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6351401001112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;BR /&gt;JMP Version: 17.0.0 (622753)&lt;BR /&gt;OS version: Windows 11&lt;BR /&gt;&lt;BR /&gt;Any pointers / suggestions highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Frank&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:32:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/748357#M92870</guid>
      <dc:creator>frankschmitt</dc:creator>
      <dc:date>2024-04-22T08:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: Listbox items are not clickable for some users in JMP 17</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/749426#M92987</link>
      <description>&lt;P&gt;You could contact &lt;A href="https://community.jmp.com/t5/Support/ct-p/jmp-support" target="_blank"&gt;JMP support.&lt;/A&gt; They will most likely ask Install Checker files and some extra information. Also if you get a solution, please post it back here.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:05:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/749426#M92987</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-04-24T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: Listbox items are not clickable for some users in JMP 17</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/750672#M93181</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Disabling hardware accelerated graphics&lt;/STRONG&gt; (as suggested by JMP support)&lt;STRONG&gt; fixed the problem&lt;/STRONG&gt; (at least for one of our users, the second one is currently on vacation).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the instructions I received from JMP support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Please let the user run the JMP Install Checker and then e-mail us the result to this case. This report give us more information about the specific JMP installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;- &amp;nbsp;Within JMP, navigate to Help ? About JMP and click Install Checker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;- &amp;nbsp;After the report is displayed, choose Open in Browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;- &amp;nbsp;Choose File ? Save As.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;- &amp;nbsp;Save it to your desktop as a HTML file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also please let the user navigate&amp;nbsp;to File &amp;gt; Preferences &amp;gt; Windows Specific &amp;gt; Enable hardware accelerated graphics.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Unselect/unhid&lt;/STRONG&gt;&lt;SPAN&gt;e this preferences and then click Apply and restart JMP and test again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Update &lt;/STRONG&gt;The suggested workaround also works for the second affected user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 08:13:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Listbox-items-are-not-clickable-for-some-users-in-JMP-17/m-p/750672#M93181</guid>
      <dc:creator>frankschmitt</dc:creator>
      <dc:date>2024-04-30T08:13:19Z</dc:date>
    </item>
  </channel>
</rss>

