Hello - I've got this confusing issue where I have a nested number edit box, and for some reason its not sending the entered number into the variable I've got it set to. I tried selecting and running only that line, and low-and-behold it sends the info to the variable, but for some reason in context, it refuses to do it. I actually got it to work a while ago, but then I went to bed, got up, didn't change a thing before it (I changed the script it calls as well as added a couple of "write to column" lines farther down), and this happened, so I'm a bit confused. Here's the code up to the <<get line, but if you want the whole code, its attached in a file:
Clear Symbols();
w = New Window( "Choose Row Number for XRD Run input", // opens a window with a title and this content...
Border Box( top( 20 ), bottom( 20 ), Left( 20 ), Right( 20 ), // window dressing
V List Box( // V and H lists nest to organize the display boxes
H Center Box( Text Box( "Choose Row Number for XRD Run input" ) ), // a second title, centered
Spacer Box( size( 1, 30 ) ), // a little vertical space
H Center Box( rowtemp = Number Edit Box( 116 ) ), // data entry
Spacer Box( size( 1, 10 ) ), // a little vertical space
H Center Box( // center the button
Button Box( "Import Smaple Data", // this script runs when the button is pressed...
rownumber = rowtemp << Get;
Also, side question, but when I get to the w << close window statement, it says
Send Expects Scriptable Object in access or evaluation of 'Send' , w << /*###*/closeWindow/*###*/
, which confuses me, because again, this worked earlier, and it also follows the syntax correctly. If anyone knows why that's happening, that would be helpful too.
Thanks in advance.
Edward Hamer Chandler, Jr.