Is duration (not delay) of the toolTip adjustable

Thomas McGrath III 3mcgrath at adelphia.net
Mon Feb 20 11:09:59 EST 2006


André,

Would you care to share your script? Thanks.

Tom

On Feb 20, 2006, at 9:45 AM, André.Bisseret wrote:

> Hi Martin and Tom,
>
> Le Monday, 20 Feb 2006, à 13:29 Europe/Paris, Martin Blackman a  
> écrit :
>
>> Why not have your own 'tooltip' field that you show for as long as
>> required. Set its layer so it is above the other field(s), update its
>> contents and move it to the mouseloc or nearby before showing it.  
>> Then
>> hide it when ready eg, send 'disappear' to field "theTooltip" in 1
>> second . (The disappear handler being : hide me)
> You are right ! I thought to this solution and I was keeping it in  
> reserve, in case of no success with the tooltip !
> I kept trying the tooltip solution, because, In my current case,  
> (or if my current case then :-))), using the tooltip has an  
> advantage that has not a normal field : it possibly overshoots the  
> (right) edge of the window.
>
> Currently, after studying the Tom' stacks,  I scripted a tooltip  
> solution  that consists (in summary) in calling twice the tooltip,   
> waiting 5 sec between the two ; and,just before the second call, I  
> reduce the tooltipdelay to the minimum (1) (resuming the default  
> value on mouseUp); thus, there is a very short interruption between  
> the two presentations, actually nearly unnoticeable.
>
> Thanks a lot for your attention to my problem
>
> Best regards from Grenoble
> André
>
>
>>
>>
>> On 20/02/06, André. Bisseret <Andre.Bisseret at inria.fr> wrote:
>>> Hi Tom,
>>> Thank you for your "Longer toolTip" stack. I would very much get
>>> durations like those of button 2 or even button 3, that work very  
>>> nicely
>>>
>>> But, in my case I can't, I am afraid ! I must manage lines of  
>>> text in a
>>> field ; I can't use "on mouseEnter" ; I must use "mouseDown"  
>>> because I
>>> need to get the text of the line on which the cursor is located, and
>>> this, ONLY starting from an intended action  from the user.
>>>
>>> I tried diverse solutions inspired by your button 3 script, but  
>>> without
>>> any success (Could be I miss some way)
>>>
>>> As Éric told me, the best I obtained was flickering tooltips :-((
>>>
>>> Anyway thanks a lot Tom ; I keep your solution in memory
>>>
>>> Bests regards from Grenoble
>>> André
>>>
>>>
>>> Le Saturday, 18 Feb 2006, à 20:11 Europe/Paris, Thomas McGrath III a
>>> écrit :
>>>
>>>> Hello,
>>>>
>>>> I have uploaded a sample stack to my user space that will display a
>>>> tooltip for a longer period of time than the standard tooltips  
>>>> using
>>>> standard tooltips. It also shows how to display a multiple  
>>>> tooltip but
>>>> that part does not always work for some reason.
>>>>
>>>> User space: mcgrath3
>>>> Stack: Longer Tooltips in Revolution
>>>>
>>>>
>>>> HTH
>>>>
>>>> Tom
>>>>
>>>> Any ides why the second button only shows the second tooltip
>>>> occasionally????
>>>>
>>>>
>>>> On Feb 18, 2006, at 12:13 PM, Eric Chatonet wrote:
>>>>
>>>>> Re Bonjour André,
>>>>>
>>>>> Afraid there is no way to master the duration for which a  
>>>>> tooltip is
>>>>> displayed.
>>>>> The only thing you can do is to re-display the tooltip  
>>>>> repeatedly...
>>>>> But flickering would probably appear...
>>>>> Not a very good answer :-(
>>>>>
>>>>> Le 18 févr. 06 à 18:05, André.Bisseret a écrit :
>>>>>
>>>>>> Hello,
>>>>>> The app. I am developing is a set of texts, one on each card.
>>>>>> On a special card, accessible from the homeCard, there is a field
>>>>>> that displays the list of all the titles of the texts.
>>>>>> Of course, this field has a vertical scrollBar but also an
>>>>>> horizontal one, because some titles are  longer than the width of
>>>>>> the field.
>>>>>> I am not very happy about this horizontal scrollBar, from an
>>>>>> ergonomical point of view.
>>>>>> So I will keep it, but I would like to add a redundant way to
>>>>>> reading the ends of the longs titles.
>>>>>> Thanks to Tutorials Picker 2.0, that I « picked » on the site So
>>>>>> Smart Software of Éric Chatonet,  I discovered «  How to create
>>>>>> contextual toolTips on-the-fly ».
>>>>>> Reading this tutorial, I got the idea of using « toolTips ».
>>>>>>
>>>>>> Below is the handlers I wrote in the script of the TitlesField :
>>>>>> ----------------------------
>>>>>> local tLine
>>>>>>
>>>>>> on mouseDown
>>>>>>   put word 2 of the mouseLine into tLine
>>>>>>   set the tooltip of me to empty
>>>>>>   set the toolTip of me to line tLine of me
>>>>>> end mouseDown
>>>>>> ----------------
>>>>>> on mouseUp
>>>>>>   set the toolTip of me to empty
>>>>>> end mouseUp
>>>>>>  ---------------------------
>>>>>> I put this « mouseUp handler » because the toolTip stays there  
>>>>>> for a
>>>>>> certain time that is constant before disappearing.
>>>>>> I want to avoid constraining the user to wait for all this time.
>>>>>> That works well but, on the other hand, this constant duration is
>>>>>> sometimes a bit too short to read comfortably the longs titles in
>>>>>> the toolTip.
>>>>>> There is my problem : Is there a possibility to set the  
>>>>>> duration of
>>>>>> toolTip display ? In fact I would need to get it longer.
>>>>>> I searched diverse ressources (with « Ressources Picker », of
>>>>>> course) but I did not find any answer to this question.
>>>>>>
>>>>>> Thanks in advance for any idea,
>>>>>>
>>>>>> Best regards from Grenoble
>>>>>> André
>>>>>
>>>>> Best Regards from Paris,
>>>>> Eric Chatonet
>>>>> ------------------------------------------------------------------ 
>>>>> ----
>>>>> ------------------------
>>>>> http://www.sosmartsoftware.com/     
>>>>> eric.chatonet at sosmartsoftware.com/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> use-revolution mailing list
>>>>> use-revolution at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>
>>>> Thomas J McGrath III
>>>> 3mcgrath at adelphia.net
>>>>
>>>> Lazy River Software™ - http://www.lazyriversoftware.com
>>>>
>>>> Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html
>>>>
>>>> Meeting Wear™ - http://www.cafepress.com/meetingwear
>>>>
>>>> Semantic Compaction Systems - http://www.minspeak.com
>>>>
>>>> SCIconics, LLC - http://www.sciconics.com/sciindex.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your  
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>>
> ---------------------------------------------------------------------- 
> ----------------------------
> André Bisseret
> Directeur de recherche émérite
> Adresse : 140 rue E. Béthoux - 38220 Vizille
> Tél. : 04 76 68 15 24
> Courriel : Andre.Bisseret at inria.fr
>            et : bisseret at andre-bisseret.com
> site Multifiches :http://www-clips.imag.fr/multicom/ 
> web_site_multicom/Multifiches/
> site peinture : http://www.andre-bisseret.com/
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J McGrath III
3mcgrath at adelphia.net

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html










More information about the use-livecode mailing list