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.

Discussions

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

How to use TextEdit box to sent the string to another textEditbox?

I want to generate one button and two textedit box, when I input the strings to the first textedit box, and then press the button, antoher editbox will show what I entered, but with two additional single quote? I just cannot get anything feedback whatever I entered. 

nw = New Window( "test",
teb1 = Text Edit Box(""),
teb2=  Text Edit Box(""),
 btn1=Button Box( "Enter",teb2("'"||char(teb1 << Get)||"'")
 )); 
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to use TextEdit box to sent the string to another textEditbox?

To get values from Text Edit Box use << Get Text and to set values use << Set Text

Names Default To Here(1);

nw = New Window("test",
	teb1 = Text Edit Box(""),
	teb2 = Text Edit Box(""),
	btn1 = Button Box("Enter", 
		teb2 << Set Text("'" || Char(teb1 << Get Text) || "'")
	)
);
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: How to use TextEdit box to sent the string to another textEditbox?

To get values from Text Edit Box use << Get Text and to set values use << Set Text

Names Default To Here(1);

nw = New Window("test",
	teb1 = Text Edit Box(""),
	teb2 = Text Edit Box(""),
	btn1 = Button Box("Enter", 
		teb2 << Set Text("'" || Char(teb1 << Get Text) || "'")
	)
);
-Jarmo
Jiaxiang
Level II

Re: How to use TextEdit box to sent the string to another textEditbox?

Thanks!

Recommended Articles