replay false vbox hbox 1 1 # Populate the view combo box with a list of the available views var combo = cmdarg().getChildren("group")[1].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 40 left /sim/replay/duration 10 right 11 left 200 /sim/replay/view-name dialog-apply 21 left /sim/replay/looped dialog-apply left table 10 center 11 left 20 center 21 left 30 center 31 left hbox true true true true