unlocked field messages?

J. Landman Gay jacque at hyperactivesw.com
Mon Oct 4 17:31:12 EDT 2010


On 10/4/10 9:22 AM, DunbarX at aol.com wrote:
> I see in the message watcher that both a "mouseDown" and a
> "mouseDoubleDown" message are sent to an unlocked field when one clicks in them. Yet I
> cannot trap these messages. Anyone know why?
>
> There is activity there, of course. For example, a double click selects the
> clicked word, and a triple click selects the entire line. These messages
> would be useful, I think, if one could only trap them.
>
> I was surprised, coming from HC, where such messages are simply not sent at
> all, that the possibility existed.

I wonder if that's the IDE inserting messages (I haven't looked to 
check, so it's speculation.) The engine doesn't send most 
mouseclick-related messages to an unlocked field. Instead, you get 
selectionChanged messages.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list