replay false vbox # Populate the view combo box with a list of the available views var combo = cmdarg().getNode("group").getNode("combo"); combo.removeChildren("value"); var current_view = getprop("/sim/current-view/view-number"); var i = 0; foreach (var v; view.views) { var name = "Unnamed view " ~ v.getIndex(); if (v.getNode("name") != nil) { name = v.getNode("name").getValue(); } # Pre-populate the combo box selected value if (v.getIndex() == current_view) { setprop("/sim/replay/view-name", name); } combo.getNode("value[" ~ i ~ "]", 1).setValue(name); i = i + 1; } table 00 right 01 left /sim/replay/duration 10 right 11 left /sim/replay/view-name dialog-apply 20 right 21 left /sim/replay/disable dialog-apply left table 10 center 11 left 20 center 21 left 30 center 31 left hbox true true true