MathGroup Archive 2009

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

Search the Archive

Re: hyperlink problem in a ActionMenu

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98701] Re: hyperlink problem in a ActionMenu
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 16 Apr 2009 04:17:47 -0400 (EDT)
  • References: <gs47n0$7qm$1@smc.vnet.net>

It doesn't work because Hyperlink doesn't represent an action. It's a
link, but not a click on a link. Use SystemOpen instead:

ActionMenu["help", {"Plotwww" :>
   SystemOpen["http://reference.wolfram.com/mathematica/
    ref/Hyperlink.html"],
  "PlotLocal" :> SystemOpen["paclet:ref/Plot"]}]

Cheers -- Sjoerd

On Apr 15, 11:00 am, meitnik <meit... at gmail.com> wrote:
> hi,
>
> Way does this ActionMenu fail to work:
>
> ActionMenu["help",
> {"Plotwww" :>  Hyperlink[ "http://reference.wolfram.com/mathematica/
> ref/Hyperlink.html"],
>   "PlotLocal" :> Hyperlink["paclet:ref/Plot"]}]
>
> Nothing happens when I select the menuitems. What is missing in my
> code to get it to work?? Thanks.
>
> Andrew



  • Prev by Date: Re: MaxIterations for FindRoot called by NDSolve
  • Next by Date: Re: axis label position
  • Previous by thread: Re: hyperlink problem in a ActionMenu
  • Next by thread: Re: hyperlink problem in a ActionMenu