I have this piece of script which allows a user to input a number to fill a column. It will ultimately be used to format the data being charted.
When I create a number edit box in application builder , it's not obvious to me what the script should be within the Number edit box Properties (if indeed, that is where i enter the script)
I assume i lose the top 8 lines, as the creation of the box is already done, but the bottom 3 lines don't work for me.
thanks in advance.
win = New Window( "Set a Value",
<<Modal,
<<Return Result,
Text Box( "Set this value" ),
variablebox = Number Edit Box( 42 ),
Button Box( "OK" ),
Button Box( "Cancel" )
);
dt = Current Data Table();
a = win["variablebox"];
:P1F012 ETLag << Set Each Value( (a) );