Re: Whats the proper way to show a help field?

2014-11-19 Thread dunbarx
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

Re: Whats the proper way to show a help field?

2014-11-19 Thread Earthednet-wp
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, dunb...@aol.com wrote: Hi again.

Re: Whats the proper way to show a help field?

2014-11-19 Thread Alejandro Tejada
Craig wrote: 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. Really clever! :-) In Linux, the tooltip get stuck in one place and does not follow the pointer within the graphic rect. Al

Re: Whats the proper way to show a help field?

2014-11-19 Thread Bob Sneidar
Edit the tooltip On Nov 18, 2014, at 15:00 , William Prothero proth...@earthednet.org wrote: 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:

Re: Whats the proper way to show a help field?

2014-11-19 Thread dunbarx
Well, not quite. The toolTip is a property, and must be set directly. You might say it has no text property, being a property already. You might also say that the toolTip property is, already, its text. In other words, keep it simple. Just set it and go... Craig -Original Message-

Re: Whats the proper way to show a help field?

2014-11-19 Thread William Prothero
Craig: Ok, let me see if I’ve got it. on mouseMove put myText into toolTip —?? i.e. how do I get text that depends on the mouseLoc, into the tooltip contents? set the tooltip of me to the mouseLoc end mouseMove Tnx, Bill On Nov 19, 2014, at 8:32 AM, dunb...@aol.com wrote:

Re: Whats the proper way to show a help field?

2014-11-19 Thread J. Landman Gay
On 11/19/2014, 1:18 PM, William Prothero wrote: Ok, let me see if I’ve got it. on mouseMove put myText into toolTip —?? i.e. how do I get text that depends on the mouseLoc, into the tooltip contents? set the tooltip of me to the mouseLoc end mouseMove The mousemove message

Re: Whats the proper way to show a help field?

2014-11-19 Thread dunbarx
Two things. First, jacque makes a point, in that even with a toolTipDelay of 1 the toolTip itself is jittery. I guess it is really a note gizmo that in intended to tell you something while the mouse hovers over an object, and does not move overmuch. A field that tracks the mouseLoc is really

Re: Whats the proper way to show a help field?

2014-11-19 Thread Alejandro Tejada
dunbarx wrote [snip] A field that tracks the mouseLoc is really much nicer, since many mouseMove messages are sent in a short time while the cursor is on the march. Can you do that? make it appear and disappear, and track? The toolTip handles that automatically, but is not as

Re: Whats the proper way to show a help field?

2014-11-19 Thread William Prothero
Thanks for the info, folks. Frankly, the field method seems better to me. I’ll use the “on mouse move x,y” method. I’ve already got it implemented, except that I was putting all of the action inside a repeat while loop, which was causing recursion limit problems occasionally. But, since the

Whats the proper way to show a help field?

2014-11-18 Thread William Prothero
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

Re: Whats the proper way to show a help field?

2014-11-18 Thread Alejandro Tejada
Hi William, Still not well from Cold, but here is a very simple method: Create a small field named cursorpos Create an opaque rectangle graphic and put this script in the graphic: on mousemove x,y set the layer of fld cursorpos to the layer of me + 1 put x,y into fld cursorpos set the

Re: Whats the proper way to show a help field?

2014-11-18 Thread Earthednet-wp
Al, Ahah! Didn't know there was a mouse move message. Thanks! Bill On Nov 18, 2014, at 5:58 PM, Alejandro Tejada capellan2...@gmail.com wrote: Hi William, Still not well from Cold, but here is a very simple method: Create a small field named cursorpos Create an opaque rectangle

Re: Whats the proper way to show a help field?

2014-11-18 Thread dunbarx
Have you ever used a toolTip? They follow like a loyal dog. Craig Newman -Original Message- From: William Prothero proth...@earthednet.org To: Use-livecode Use-livecode use-livecode@lists.runrev.com Sent: Tue, Nov 18, 2014 6:01 pm Subject: Whats the proper way to show a help field?

Re: Whats the proper way to show a help field?

2014-11-18 Thread Earthednet-wp
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