MathGroup Archive 2008

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

Search the Archive

How to make an InputField inside of a graphic active...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89569] How to make an InputField inside of a graphic active...
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Fri, 13 Jun 2008 06:09:53 -0400 (EDT)

One can place, say, a Checkbox in a graphic using Inset:

Deploy[Graphics[{LightGray, Disk[], Inset[Checkbox[]]}]]

and the resulting Checkbox is active: i.e., you can click on it and
the expected behavior happens.

Now if I try to do this with an InputField as in

Deploy[Graphics[{LightGray, Disk[], Inset[InputField[]]}]]

The resulting Inputfield cannot be accessed in the familiar way: i.e.,
clicking inside of it and then typing.

Do the Group members have a suggestion for how to do this sort of
thing with an InputField.

This, of course, is a distilled version of something else.  I am
building a CAD application for a customer, and I would like to place
input fields within the visual design that is being created so that
values can be assigned to various things.  This behavior would be
toggeled on and off as needed...

thanks for any help that you folks can give....

--David




  • Prev by Date: Fonts in publication quality figures.
  • Next by Date: Re: Method->NMinimize in FindFit Crashes the Kernel
  • Previous by thread: Re: Fonts in publication quality figures.
  • Next by thread: Re: How to make an InputField inside of a graphic active...