Once the condition satisfied only one function are executed which exports graphs into a window instead of multiple functions based on the condition.
Here's my sample code :
//list box
graph_chk_val = chk_graph << get selected;
tab_chk_val = chk_tab << get selected;
anal_chk_val = chk_analysis << get selected;
list_selected = graph_chk_val || tab_chk_val || anal_chk_val;
For( i = 1, i <= N Items( list_selected ), i++,
If(
"SDET Chart" == list_selected[i], Show( "SDET" ),
"Sensitiviity" == list_selected[i], sens_graph_exe(),
"Sensitivity CDF" == list_selected[i], sens_cdf_graph_exe(),
"Parametric Boxplot" == list_selected[i], parametric_boxplot_graph_exe(),
)
);