Anyone:
I want to use the tooltip to display information. I have a field with numbers 
in each line.


I want to display the number in a line divided by 36. So if I have 72 as a
value in the line, I would like the tooltip to read "36". Easy, right:
on mouseMove
   put the mouseLine
   set the toolTip of me to the value of the mouseLine / 36
end mouseMove


I get a dynamic value for the mouseLine as I move the cursor over various lines 
in the field (this was just a check)
 but the only toolTip I get is when I enter the field. That line responds fine, 
but no other values appear as I move
the mouse to other lines. I have to exit the field and re-enter at another line 
to see any change. I tried changing toolTipDelay.
Nothing helps. The toolTip is correctly set as I move around the field ( I 
check it with a mouseLeave handler). It just does not display dynamically. And 
there
is no "upDateToolTip" command.


This seems like a cute little gadget. In fact, it would be terrific
if one was able to place a function in the toolTip property, similar to the 
very powerful ability HC had to place
 custom functions in the contents of the report items.


So is it me or the toolTip itself? Am I working it too hard? Is it only invoked 
by the engine on mouseEnter? I can easily write a workaround with a tiny field, 
but, well...


Craig Newman
 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to