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
lala
Level IX

How can the following JSL be modified to adjust the width of the text edit box to 500 pixels?

Hello!

ex = New Window( "",
	<<modal,     
	Panel Box( "", H List Box( teb = Text Edit Box() ) ),
	Panel Box( "", H List Box( Button Box( "OK", ng = teb << get text ) ) )
);

2023-04-21_13-33-33.png2023-04-21_13-33-33.png

1 ACCEPTED SOLUTION

Accepted Solutions

回复: How can the following JSL be modified to adjust the width of the text edit box to 500 pixels?

Looks like a simple error: the Text Edit Box isn't assigned to the variable teb. Try this:

Names Default to Here( 1 );

ex = New Window( "",
<< modal,
Border Box( "", teb = Text Edit Box("", << Set Width( 500 ) ) ),
Panel Box( "", H List Box( Button Box( "OK", ng = teb << get text ) ) )
);

 

Ross Metusalem
JMP Academic Ambassador

View solution in original post

2 REPLIES 2
lala
Level IX

回复: How can the following JSL be modified to adjust the width of the text edit box to 500 pixels?

I tried to do this, but the variable ng couldn't get the input edit text content

2023-04-21_13-36-21.png2023-04-21_13-36-21.png

回复: How can the following JSL be modified to adjust the width of the text edit box to 500 pixels?

Looks like a simple error: the Text Edit Box isn't assigned to the variable teb. Try this:

Names Default to Here( 1 );

ex = New Window( "",
<< modal,
Border Box( "", teb = Text Edit Box("", << Set Width( 500 ) ) ),
Panel Box( "", H List Box( Button Box( "OK", ng = teb << get text ) ) )
);

 

Ross Metusalem
JMP Academic Ambassador

Recommended Articles