Timeline for How to use button to evaluate a cell
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2012 at 22:31 | comment | added | Sjoerd C. de Vries | @maxmc The manual states about CDF's: "All interactive content must be generated with the Manipulate command and may only use mouse-driven elements, such as Slider, Locator, Checkbox, PopupMenu, etc." So, a button outside a Manipulate won't work in a CDF. | |
Mar 16, 2012 at 20:15 | comment | added | Sjoerd C. de Vries | R.M it is possible to paste the manipulate box in the Dynamic function (replacing the variable d). As far as I know there is no Visible->False option for a Manipulate; that would have been useful here. Another option would be to have the function in the Manipulate body to be replaced by a Null function depending on the button state. | |
Mar 16, 2012 at 19:58 | comment | added | rm -rf♦ |
Nice, but it evaluates the Manipulate again when you turn it on, as opposed to simply making it disappear and reappear (like if you deleted the manipulate and immediately undid it).
|
|
Mar 16, 2012 at 19:40 | comment | added | maxmc | Thanks, it works well in a notebook, but what about use it as a standalone cdf ? It appear doesn't work.... | |
Mar 16, 2012 at 19:35 | history | edited | Sjoerd C. de Vries | CC BY-SA 3.0 |
added 287 characters in body
|
Mar 16, 2012 at 19:26 | history | undeleted | Sjoerd C. de Vries | ||
Mar 16, 2012 at 19:25 | history | deleted | Sjoerd C. de Vries | ||
Mar 16, 2012 at 19:22 | history | answered | Sjoerd C. de Vries | CC BY-SA 3.0 |