MathGroup Archive 2008

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

Search the Archive

Re: Tooltip ans Sound - 2nd posting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93368] Re: Tooltip ans Sound - 2nd posting
  • From: dh <dh at metrohm.ch>
  • Date: Wed, 5 Nov 2008 04:53:46 -0500 (EST)
  • References: <gepb36$si1$1@smc.vnet.net>


Hi Axel,

I think it can not be done.

Tooltip is an ordinary function, its arguments are evaluated before 

beeing fed to Tooltips. Further, if you play a sound (e,g, using Emit) 

nothing (Null) is returned. Therefore, obj2 must not be evaluated during 

evaluation of Tooltip, but only later when the Tooltip is used. I do not 

see how this could be achieved.

Daniel



axel wrote:

> Hello,

> 

> I have found that Tooltip[obj1, obj2] evaluates obj2 upon a mouseover

> event on obj1. The objects can either be Text or Graphics, all

> combinations work. Here is my question: can I use a Sound as obj2? I

> want to hear a specific sound when my mouse enters the notebook area

> occupied by obj1.

> 

> Thank you

> 

> Axel

> 

> PS: using Tooltip[obj1, Play[...]] works but is not useful because one

> cannot reach the play-button. Also, I want to hear the sound upon the

> mouseover event, without the need of further action.

> 





-- 



Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at metrohm.com>

Internet:<http://www.metrohm.com>




  • Prev by Date: Re: Eliminating common factors?
  • Next by Date: Re: Constructing a Label
  • Previous by thread: Re: Tooltip ans Sound - 2nd posting
  • Next by thread: Re: Tooltip ans Sound - 2nd posting