MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Dynamic Module

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103559] Dynamic Module
  • From: John <jwa0 at lehigh.edu>
  • Date: Sun, 27 Sep 2009 23:07:36 -0400 (EDT)

Mathematica 6

The dynamic module:

        DynamicModule[{n = 1, p = 1},
         Deploy[Style[
         Panel[Grid[
         Transpose[{{Style["enter n", 20], Style["enter p", 20],
           Style["simulated X", 20]}, {InputField[Dynamic[n],
Number],
            InputField[Dynamic[p], Number],
            InputField[
           Dynamic[Quiet[
           Check[Total[RandomInteger[BinomialDistribution[n, p], 1]],
           Null]]], Enabled -> False]}}], Alignment -> Right],
           ImageMargins -> 10],
           DefaultOptions -> {InputField -> {ContinuousAction ->
True,
           BaseStyle -> 20, FieldSize -> {{5, 30}, {1, Infinity}}}}]]]

is in a notebook containing course notes, which include the
interactive panel created by the dynamic module,  but the formatted
notebook, viewed by the students on Mathematica Player, does not
include the interactive panel created by the dynamic module.

All text style cells were printed exactly as formatted, but an empty
box with pink background was printed at  the location where the
interactive panel should have been.

Error message: An unknown box name (Graphics) was sent as the box form
for the expression. Check format rules for the expression.

Message: Set::write Tag Dot in ie332s10i1.nb is protected.

I will be grateful to anyone who can tell me how to check the
formatting rules for the dynamic module, if that is what is needed to
fix the problem.

John



  • Prev by Date: Re: Convert 2D table to 1D list
  • Next by Date: Re: Is it possible to create a single csv file one row at
  • Previous by thread: Mathematica, .NET/Link, and Mac OS?
  • Next by thread: Mouse-Over or Mouse-Click Values of Coordinates in Plot in Manipulate