Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Background Option in LocatorPane

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77732] Re: [mg77637] Background Option in LocatorPane
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 15 Jun 2007 04:56:11 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200706140925.FAA06842@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

A bug?  The same sort of problem occurs with:

   Manipulate[
      LocatorPane[{0, 0}, Graphics[Disk[]], Background -> c],
      {c, {Pink, Green, Yellow}}]

On the other hand, iterating over a list of colors does work, e.g., in

   Manipulate[Graphics[{c, Disk[{0, 0}, 1]}], {c, {Pink, Green, Yellow}}]

as well as in:

   Manipulate[
     Graphics[Disk[], Background -> c], {c, {Pink, Green, Yellow}}]

David Park wrote:
> In the following example from LocatorPane:
> 
> 
> Table[
>  LocatorPane[{0, 0},
>   Graphics[{Gray, Disk[]}],
>   Background -> c,
>   ImageSize -> 100],
>  {c, {Pink, Green, Yellow}}]
> 
> why does the background color disappear as soon as one scrolls the cell off 
> screen and back, or indeed as soon as one puts the pointer into one of the 
> LocatorPanes?
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Background Option in LocatorPane
  • Next by Date: Re: newlines, newlines ...
  • Previous by thread: Background Option in LocatorPane
  • Next by thread: Re: Background Option in LocatorPane