cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
GgGgGg2024
Level II

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

 
1 REPLY 1
jthi
Super User

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

If this is related to How do I get a list from an SQL query and let the user select the option from the list? you could have most likely kept discussion in that single topic. You have to options for drop-down, Combo box or button box

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", << Set Menu Items(selections))
		)
	)
);
jthi_0-1708962808941.png

Combo box is usually easier to use (Scripting Guide - Combo Box )

-Jarmo

Recommended Articles