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("Reset", /* Reset script to reset text edit box to empty*/),
Button Box("Cancel", dialog("Cancelled by User"));
);
When it's too good to be true, it's neither