Is duration (not delay) of the toolTip adjustable

Thomas McGrath III 3mcgrath at adelphia.net
Sat Feb 18 14:11:55 EST 2006


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










More information about the use-livecode mailing list