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

Next Comment >Help | Reply To Topic
Author Comment/Response
Dr_Spencer
08/29/12 07:56am

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

               }]

   ]}];


I do this code. I want to see "correct" in "b" when in "a" I press the first choise. In the other cases i want to see "false".
is it possible??

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
Next Comment >Help | Reply To Topic