On 1/9/2015 12:41 PM, Devin Asay wrote:
>It looks like that change actually happened in LC 6.7. In 6.5 no mouseEnter is
sent if there is no control object under the mouse. Starting in 6.7 a mouseEnter
is sent to the card even if there is no control object under the mouse. Is this
possibly an effect of the switch to Cocoa?
Sorry, the second sentence in the paragraph above should say “In 6.5 *and 6.6*
no mouseEnter is sent…”
Just tested and you're right. It changed in 6.7.
I can see some advantages to this. The ability to determine a mouseEnter
into the stack window is useful in general. I suspect most scripts
written by Mac users will have relied on a stack-sized control to trap
entry into the stack, and that would still work the same as always. But
you're right that problems would occur with a card or stack level
handler that assumes a mouseEnter was always triggered by a control.
I can't remember how Windows works. If it's the same as earlier LC
versions on Mac, then there's still al platform discrepancy.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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