card intercepting mouseDown events

Terry Judd tsj at
Wed Oct 26 18:45:11 EDT 2011

I'm seeing an odd issue where on a particular card the focus passes from a control to the card without being told to. I noticed that datagrid tables on the card would automatically have their selection dimmed immediately after they were clicked and trapping the focusOut message revealed that the card was grabbing the focus. The problem occurs on mouseDown and inserting a blank mouseDown handler in the card script prevents the transfer of focus.

Any ideas on what might be going on (there are no card behaviors, front or backscripts in play)?


Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne

More information about the Use-livecode mailing list