How can I create a dynamic behavior in a list box depending on a combo box?Hi,
I want to update a list box dynamically depending on the value in a combo Box, how can I do that? I am using a mouse box as enabler.
I am trying with the following code:
vtotal_mi1 = {"b", "a", "pi"};
vtotal_mi2 = {"b2", "a2", "pi2"};
vtotal_mi3 = {"b3", "a3", "pi3"};
clusterDlg = New Window( "==*== Test ==*==",
V List Box(
MouseBox(
comboObj = Combo Box( {"All", "Timing", "Voltage"} ),
<<SETTRACK></SETTRACK>
With no success.
Re: How can I create a dynamic behavior in a list box depending on a combo box?<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Excellent, thank you
Re: How can I create a dynamic behavior in a list box depending on a combo box?Consider a script in the ComboBox instead of a MouseBox. For example:
vtotal_mi = {{"b", "a", "pi"}, {"b2", "a2", "pi2"}, {"b3", "a3", "pi3"}};
clusterDlg = New Window("==*== Test ==*==",
V List Box(
comboObj = Combo Box(
{"All", "Timing", "Voltage"},
methodObj << set items(vtotal_mi[comboObj << get])
),
Panel Box("Method", methodObj = List Box(vtotal_mi[1]))
)
);