<?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 How do I write a function to display a column as a drop down list? The user should be able to select from this list in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-write-a-function-to-display-a-column-as-a-drop-down/m-p/725391#M90986</link>
    <description />
    <pubDate>Mon, 26 Feb 2024 14:37:16 GMT</pubDate>
    <dc:creator>GgGgGg2024</dc:creator>
    <dc:date>2024-02-26T14:37:16Z</dc:date>
    <item>
      <title>How do I write a function to display a column as a drop down list? The user should be able to select from this list</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-write-a-function-to-display-a-column-as-a-drop-down/m-p/725391#M90986</link>
      <description />
      <pubDate>Mon, 26 Feb 2024 14:37:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-write-a-function-to-display-a-column-as-a-drop-down/m-p/725391#M90986</guid>
      <dc:creator>GgGgGg2024</dc:creator>
      <dc:date>2024-02-26T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a function to display a column as a drop down list? The user should be able to select from this list</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-write-a-function-to-display-a-column-as-a-drop-down/m-p/725401#M90989</link>
      <description>&lt;DIV class="MessageSubjectCell"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;P&gt;If this is related to &lt;SPAN class="lia-message-read"&gt;&lt;LI-MESSAGE title="How do I get a list from an SQL query and let the user select the option from the list?" uid="725382" url="https://community.jmp.com/t5/Discussions/How-do-I-get-a-list-from-an-SQL-query-and-let-the-user-select/m-p/725382#U725382" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;you could have most likely kept discussion in that single topic. You have to options for drop-down, Combo box or button box&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

selections = {"One", "Two", "Three"};

nw = New Window("Example",
	H List Box(
		Panel Box("Combo Box",
			cb = Combo Box(selections)
		),
		Panel Box("Button Box",
			btn = Button Box("Select", &amp;lt;&amp;lt; Set Menu Items(selections))
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1708962808941.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61475i803AE3AB385A0FB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1708962808941.png" alt="jthi_0-1708962808941.png" /&gt;&lt;/span&gt;
&lt;P&gt;&lt;SPAN class="lia-message-read"&gt;Combo box is usually easier to use &lt;/SPAN&gt;(&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww634710" target="_self"&gt;Scripting Guide - Combo Box&lt;/A&gt; )&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:54:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-write-a-function-to-display-a-column-as-a-drop-down/m-p/725401#M90989</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-26T15:54:00Z</dc:date>
    </item>
  </channel>
</rss>

