Crash-a-lot just became critical
J. Landman Gay
jacque at hyperactivesw.com
Fri Jan 9 14:55:52 EST 2015
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list