Problems with Dynamic inside Panel in V7
- To: mathgroup at smc.vnet.net
- Subject: [mg94875] Problems with Dynamic inside Panel in V7
- From: Cca <cca at gregosetroianos.mat.br>
- Date: Mon, 29 Dec 2008 06:40:09 -0500 (EST)
- Reply-to: Cca <cca at gregosetroianos.mat.br>
In V7, Dynamic objects inside a Panel can cause some strange "flashing" background effect. Here is an simple example:
DynamicModule[{col = Green},
Panel@EventHandler[
Dynamic@
Graphics[{col, Disk[]},
ImageSize ->
80], {"MouseClicked" :> (col =
col /. {Red -> Green, Green -> Red})}]]
Click on the disk and a gray retangle appears. This does not happen in V6. Any workaround? Something related to the new Panel options?
I have also seen this with Manipulate and it was necessary to set Paneled->False to cure the problem.
Carlos César de Araújo
Gregos & Troianos Educacional
www.gregosetroianos.mat.br
MSN: cca_gregosetroianos at hotmail.com
Belo Horizonte, MG, Brasil
(31) 3283-1122
- Follow-Ups:
- Re: Problems with Dynamic inside Panel in V7
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Problems with Dynamic inside Panel in V7