3290_en-US
Unrecognized dialog itemAlright, this problem has me stumped. I'm trying to write a script that will allow me to make an ANOM chart but where the grand value being tested isn't the overall mean, but some user specified value. To this end, I am trying to replicate the Xbar control chart dialog box for user input.
Thus far, I have:
c_dlg = Column Dialog(
varlist=ColList("Process", MinCol(1), DataType(Numeric)),
lablist=ColList("Sample Label",MaxCol(1)),
bylist=ColList("By"),
V List Box(
c_Vtype = Radio Box({"R","S"}),
Panel Box("Parameters",
Lineup Box(NCol(1),spacing(5),
c_paratype = Radio Box({"KSigma","Alpha"}),
paraval = Number Edit Box(3))
)
)
);
When I run this, however, I get an error in the log:
Unrecognized dialog item in access or evaluation of 'V List Box' , V List Box(
c_Vtype = Radio Box( {"R", "S"} ),
Panel Box( "Parameters",
Lineup Box( N Col( 1 ), spacing( 5 ),
c_paratype = Radio Box( {"KSigma", "Alpha"} ),
paraval = Number Edit Box( 3 )
)
)
)
I have used the V List Box, not used, used a bunch of Line Up statements and each time I change the non-column selection part, the error changes slightly, often complaining about the 'List' in the first Radio Box (and likely the list in the Panel Box too). If I take the code in the V List Box and put it in a new window (not a column dialog) it runs fine - why won't it work in the column dialog?
Also - and this is a completely separate question, but how might I add a button to this dialog that takes all of the Process variables and presents the user with a table to specify for each of them the target value? I haven't been able to find examples of having a script execute inside a dialog that modifies the dialog (but maybe I haven't looked hard enough yet).
Thank you for your time!