Whats the proper way to show a help field?

Earthednet-wp prothero at earthednet.org
Wed Nov 19 10:43:40 EST 2014


Craig,
Thanks for that! No, I didn't know I could use the tooltip for that. So I could do something like:
"Set the text of the tooltip of me to mytext" as the mouse is moved?

Bill




William Prothero
http://es.earthednet.org

> On Nov 19, 2014, at 7:34 AM, dunbarx at aol.com wrote:
> 
> Hi again.
> 
> 
> Not sure what you mean. You do know that the tooltip is a property, and need not just be fixed text, right?
> 
> 
> 
> on mouseMove
>   set the tooltip of me to the mouseLoc
> end mouseMove
> 
> 
> Try this in your rect. You will want to make sure to knock off the toolTipDelay.
> 
> 
> Craig
> 
> 
> 
> -----Original Message-----
> From: Earthednet-wp <prothero at earthednet.org>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Wed, Nov 19, 2014 1:04 am
> Subject: Re: Whats the proper way to show a help field?
> 
> 
> Yeah, I use the tool tips a lot. But the field I need displays the x,y values 
> under a data plot, as the user moves the mouse within the plot axes boundary. . 
> In that way, the user gets a convenient way of getting values from a data plot. 
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote:
>> 
>> Have you ever used a toolTip? They follow like a loyal dog.
>> 
>> 
>> Craig Newman
>> 
>> 
>> 
>> -----Original Message-----
>> From: William Prothero <prothero at earthednet.org>
>> To: Use-livecode Use-livecode <use-livecode at lists.runrev.com>
>> Sent: Tue, Nov 18, 2014 6:01 pm
>> Subject: Whats the proper way to show a help field?
>> 
>> 
>> Folks:
>> I have a help field that I want to pop up and follow the mouse when it’s
> within 
>> a specific rect. What I’m doing is showing the x,y values in a data plot
> region. 
>> So, I do something like:
>> 
>> on mouseEnter
>> doTheDisplay
>> end mouseEnter
>> 
>> on doTheDisplay
>> repeat while the mouseLoc is within theRect
>>    doStuff that shows the field and its contents
>> end repeat
>> end doTheDisplay    
>> 
>> The problem with this is I am getting “Recursion Limit” errors. 
>> 
>> 
>> William A. Prothero
>> http://es.earthednet.org/
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list