SelectionChanged and datagrids

Terry Judd tsj at unimelb.edu.au
Tue Feb 22 16:51:37 CST 2011


Bob - How about sending "selectionChanged" to the datagrid immediately after
updating the dgText?

Terry...


On 23/02/11 9:33 AM, "Bob Sneidar" <bobs at twft.com> wrote:

> Not complaining just a curiosity. I have a selectionChanged handler in my data
> grid because I want to trap for it and act based one what the user selected.
> 
> I discovered though, that if I have something selected, and then
> programmatically set the dgText of the datagrid, effectively deselecting
> anything, the datagrid does NOT get the selectionChanged message, even though
> the selection DID change.
> 
> I suppose I could go into the behavior and modify it to suit my needs but it's
> no big deal. 
> 
> Bob
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne





More information about the use-livecode mailing list