selectionChanged message

J. Landman Gay jacque at hyperactivesw.com
Sun Dec 12 15:22:18 EST 2010


On 12/12/10 12:27 PM, Peter Haworth wrote:
> I have a front script that intercepts the selectionChanged message to
> deal with some special handling of datagrids. The dictionary says that
> selectionChanged is "Sent to a field or player when the selection is
> changed." Obviously the datagrid message should be added to that
> description but it also seems form error I get in my script that other
> events cause a selectionChanged message to be created. Does anyone have
> any experience of all the events that cause this message to be generated?

I don't have a list, but anything that changes the cursor position will 
generate the message. That would include using the arrow keys to move 
around the text in a field (or to change a line selection in a list 
field), and clicking anywhere in the field.

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




More information about the use-livecode mailing list