Subscribe Bookmark RSS Feed

New User: Sample List Dialog

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" ) ) );
2 REPLIES
mpb

Super User

Joined:

Jun 23, 2011

Play around with the following:
Thank you.