Reset Text Edit Box to empty when rest button is pressed
I would like to reset the Text Edit Box to empty using the reset button in the script below. How to do this? Names Default To Here( 1 );
clear log ();
nw = New Window( "Get Data",
<<Modal,
<<Return Result,
pid = Text Edit Box( "", <<Set Width( 160 ) ),
Button Box ("Get ID & Data",
ID = pid << get text;
show (ID)),
//getData (ID); run getData script. Get data script will go here.
Button Box
...