Dynamic Display box based on user selectionHow to dynamically update a window based on user selection from either a combo box selection or radio box ?
I've gone so far as trying out the script below but instead of replacing the text box, it kept appending new text boxes. How to update the script to change the display based on selection ?
I'm planning to incorporate more things beyond just text boxes (i.e. button boxes, col list boxes, etc).
Appreciate the help
nw1 = new window("New Test",
tab box(
TB = Tab page box("Analysis",
V list box(
H list box(
combo1 = combobox({"","Normal","Lognormal"},
<<SETFUNCTION></SETFUNCTION>Advanced Statistical ModelingAutomation and ScriptingData Blending and CleanupQuality and Process EngineeringRe: Dynamic Display box based on user selectionThanks Jim! it works
Re: Dynamic Display box based on user selectionYou need to delete the previous text box, otherwise it will just keep adding them.
nw1 = New Window( "New Test",
Tab Box(
TB = Tab Page Box(
"Analysis",
V List Box(
H List Box(
combo1 = Combo Box(
{"", "Normal", "Lognormal"},
<<SETFUNCTION></SETFUNCTION>
Or you can just have an empty text box and change it's value
nw1 = New Window( "New Test",
Tab Box(
TB = Tab Page Box(
"Analysis",
V List Box(
H List Box(
combo1 = Combo Box(
{"", "Normal", "Lognormal"},
<<SETFUNCTION></SETFUNCTION>