wishlist

Started by BitSpawn

GaryForbis Lv 1

table dialog.AddRadioButtons(table labels, integer index)

use like this:


local rebuildOrder={
  "Worst Score to Best",
  "First Segment to Last",
  "Last Segment to First"
}
...
dlg.rebuildOrder=dialg.AddRadioButtons(rebuildOrder,1)

For every string in the table labels and in the order they appear in the table a line would appear in the dialog box. Each line would have a little circle followed by the string. The circle at index would have a dot in it. The user could click on a circle and the dot would be removed from where it was in the lines for the labels and moved to the one the user clicked. When the dialog box was closed the "value" would have the index associated with the row clicked, for instance dlg.rebuildOrder.value in the above example.