Answer dialog focus on OSX using mousedown call
Jeff Reynolds
jeff at siphonophore.com
Tue May 22 14:34:10 EDT 2007
If i call and ask dialog from a mousedown handler, the ask dialog
buttons in the dialog box does not appear to have the screen focus
when its brought up so it takes two clicks to activate a button (ie
one to bring the window into focus and the second to activate the
button.) if i do the same call from a mouseup the ask dialog comes up
with the proper focus.
any ideas of how to work around this so that it can be called from
the mousedown handler? tried a lot of fiddles, but only calling the
ask from a mouseup will make it work 100% of the time. appears to be
something with the mouseup message from the button the ask dialog was
called from stealing focus or the ask window after its brought up.
found this in 2.6.1, but apps built with 2.8 also do it.
cheers,
Jeffrey Reynolds
More information about the use-livecode
mailing list