How do I store the contents of what a user selects in a variable "x" after the OK button is selected.
Code for Sample List Dialog pasted below. Thanks,
names = {KATIE, LOUISE, JANE, JACLYN, LILLIE, KIRK, LAWRENCE};
dlg = Dialog( "Select Names", vlist( selection = List Box( names ), button( "OK" ) ) );