回复: 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

回复: 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 );<BR /><BR />ex = New Window( "",<BR /><< modal, <BR />Border Box( "", teb = Text Edit Box("", << Set Width( 500 ) ) ),<BR />Panel Box( "", H List Box( Button Box( "OK", ng = teb << get text ) ) )<BR />);
How can the following JSL be modified to adjust the width of the text edit box to 500 pixels?Hello!
ex = New Window( "",
<<MODAL></MODAL>

Automation and Scripting