Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'set correct answer in RadiobuttonBar' topicStudent Support Forum > General > Archives > "set correct answer in RadiobuttonBar"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
09/06/12 9:45pm

Is this the sort of thing you want?:

a = CreateDialog[{TextCell["Quante case ci sono?"],
DynamicModule[{},
Row[{RadioButtonBar[Dynamic[q], {1, "2", "3", "4"},
Appearance -> "Vertical"]}]], DefaultButton[NotebookClose[a];
b = CreateDialog[{TextCell[If[q == 1, "Correct", "False"]],
DefaultButton[]}]]}];

URL: ,

Subject (listing for 'set correct answer in RadiobuttonBar')
Author Date Posted
set correct answer in RadiobuttonBar Dr_Spencer 08/29/12 07:56am
Re: set correct answer in RadiobuttonBar Michael 09/06/12 9:45pm
< Previous CommentHelp | Reply To Comment | Reply To Topic