cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
UserID16644
Level V

How to display multiple combo box

Hi all, how can I create two combo box in a modal? Seems like it only shows the last combo box being displayed. Here is my sample code:

BTW, Im using JMP 15

nw = New Window( "HAMR RO BQST Data Preparation", << modal(),
	lineupbox(ncol(1), spacing(5),
		Text Box( "Enter Name:" ),
		teb3 = Text Edit Box( "", <<set width( 200 ) ),	
		
		Text Box( "Select Sex:" ),
		cbSex = Combo Box( {"Male", "Female"},
		selSex = cbSex << GetSelected());
		
		Text Box( "Select Course:" ), 
		cbCourse = Combo Box( {"Engineering", "Psychology", "Accounting", "Computer Science", "IT", "Mathematics"},
		selCourse = cbCourse << GetSelected());

	),
	Button Box( "OK", 
		doetx = doe << get text();
	),
);

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to display multiple combo box

Change out the ";" for a "," on line

selSex = cbSex << GetSelected()),

That will allow the JSL to continue to parse the remainder of the code

txnelson_0-1699242239568.png

 

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to display multiple combo box

Change out the ";" for a "," on line

selSex = cbSex << GetSelected()),

That will allow the JSL to continue to parse the remainder of the code

txnelson_0-1699242239568.png

 

Jim