Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

How to lock down a Dynamic object in a report

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128250] How to lock down a Dynamic object in a report
  • From: dr DanW <dmaxwarren at gmail.com>
  • Date: Sat, 29 Sep 2012 02:57:54 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Is there a way to lock a Dynamic object so it does not respond to users? I know it sounds funny, but I have created a LocatorPane to organize items in a database.  When I publish my weekly report as a CDF, the same LoacatoPane also serves as a nice graphic of the current state of the database.  However, the reader can accidentally scramble the Locators or try to apply the changes to the database which of course serves up errors in CDFReader.  Solutions that don't work:

* Deploy only locks down editing of graphics, but controls still respond.
* Publishing the report as a PDF won't work because I use cell grouping and OpenerViews elsewhere in the report.
* Recreating the LocatorPane as a Graphic is undesirable because I put a lot of work into it, and I don't want to have to maintain two complex functions like that.

So, is there a wrapper like Deploy that I can use around my LocatorPane when I want to publish it as a static object?

Daniel



  • Prev by Date: Re: Fast selection of lots of elements from a large list
  • Next by Date: Re: Fast selection of lots of elements from a large list
  • Previous by thread: Re: Problem with SetDelayed lhs:=rhs
  • Next by thread: Re: How to lock down a Dynamic object in a report