Hello Everybody,
I am new in JSL scripting and I have one issue. Namely, having one selection list (Processes) I would like to select (by mouse) one process and display corresponding list of parameters/values from another list without confirming the previous "process" selection (for example by clicking button OK).
I would appreciate for hints how to solve that.
Best regards.
New Window("Example",
H List Box(
unique_process_list = {"Process_1", "Process_2", "Process_3"};
Panel Box("Process",
processes = List Box( unique_process_list, max selected( 1 ) ),
//Button Box( "OK",
// process = processes << get selected ),
),
Spacer Box(Size(20, 10)),
parameter_list_1 = {"parameter_1", "parameter_2", "parameter_3"}; //for Process 1
parameter_list_2 = {"parameter_4", "parameter_5", "parameter_6"}; //for Process 2
parameter_list_3 = {"parameter_7", "parameter_8", "parameter_9"}; //for Process 3
Panel Box("Parameters",
params = List Box( parameter_list_1),
),
),
)