Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Buttons within a single panel. My problem is that after deploying that panel, the second Button is not working in the CDFPlayer. But it works in Notebook. Why is it not working in the CDFPlayer?

Panel[Row[{
  Button["Speak", Speak["HI"]], 
  Button["Speak2", (CreateDialog[
  Button["Ok", Speak["infratab"], Method -> "Queued"]];), 
    Method -> "Queued"]
}]]
share|improve this question
1  
Perhaps CreateDialog is not allowed in the Free CDF Player? – Ajasja Jul 14 '12 at 20:19
    
@Ajasja Then does it work in Player Pro? – subbu Jul 14 '12 at 20:30

As stated in the Create a Computable Document Format file HowTo (section "Interactivity in .cdf Files"):

Dialog windows are not supported

Other links:

http://www.wolfram.com/cdf/faq/

http://www.wolfram.com/player-pro/how-player-pro-compares.html

share|improve this answer
    
I the last link there is Launch dialogs statement. It is about Dialog, not DialogWindows, I was assured by the support the wording will be improved, but as you can see it isn't. – Kuba Dec 2 '15 at 13:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.