I am not looking for an answer here. Just sharing my findings.
I have been attempting to debug a script and have run into the following error that will not allow the debugger to go past a starting notification window I programmed for user info:
(The following message might not be an actual error; the preference 'Report Invalid Display Box Messages' is ON.) Object 'TextBox' does not recognize the message ''.
Once the debugger hits this code, it hangs. But running the script goes past this error, fully running the script. I have an issue further into the script and this prevented me from finding a solution for quite some time.
Ultimately, I discovered that I simply put too many commas in the text box command, but the error did not lead me easily to this mistake. I also verified that my preferences for Report Valid Display Box Messages is deselected. Reaching out to other experienced JMP users lead me to this Discussions Board. I have attached an non-specific version of the offending portion of my script in demonstration.
Discontinue = 1;
/*
// This one was the problem window that gives the error:
//(The following message might not be an actual error; the preference 'Report Invalid Display Box Messages' is ON.) Object 'TextBox' does not recognize the message ''.
New Window( "Where is your file?", << Modal,
H Center Box( Text Box( "Looooooooooooooooong Note 1", << Set Font( "Arial Black", 10, "Bold"), << Set Width( 200) ) ),
Spacer Box( Size( 20, 15 ) ),
H Center Box( Text Box( "Looooooooooooooooooooong Note 2", << Set Font( "Arial Black", 10, "Bold"), , << Set Width( 200) ) ),
Spacer Box( Size( 10, 15 ) ),
H Center Box( Text Box( "Continue?", << Set Font( "Arial Black", "Bold" ) ) ),
Spacer Box( Size( 10, 5 ) ),
H Center Box(
H List Box(
Button Box( "Yes" ),
Button Box( "No", Discontinue = 0 )
)
)
);
*/
//This is the fixed window
New Window( "Where is your file?", << Modal,
H Center Box( Text Box( "Looooooooooooooooong Note 1", << Set Font( "Arial Black", 10, "Bold"), << Set Width( 200 ) ) ),
Spacer Box( Size( 20, 15 ) ),
H Center Box( Text Box( "Looooooooooooooooooooong Note 2", << Set Font( "Arial Black", 10, "Bold"), << Set Width( 200 ) ) ),
Spacer Box( Size( 10, 15 ) ),
H Center Box( Text Box( "Continue?", << Set Font( "Arial Black", "Bold" ) ) ),
Spacer Box( Size( 10, 5 ) ),
H Center Box(
H List Box(
Button Box( "Yes" ),
Button Box( "No", Discontinue = 0 )
)
)
);
print( "Testing...");
Hoping this helps others who make these simple mistakes that then cause us to spin our wheels for far longer than we should. Too often there truly is a simple solution once we get out of our own way.