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 ) ) ) );
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 />);
I tried to do this, but the variable ng couldn't get the input edit text content