That message is posted when the widget changes the value of the array by adding/deleting a key. It is not posted when the array is set.
Formattedheightchanged should fire when the total height of data changed. Easiest way to get it sent is expanding a node. My use of that widget never uses the changed message but I’ve made a good bit of use of the height message. Brian Milby [email protected] > On Sep 22, 2024, at 6:56 AM, Terry Judd via use-livecode > <[email protected]> wrote: > > Is there some secret to getting the tree view messages to fire? The > actionInspect message works as advertised but I can’t get either the > dataChanged or formattedHieghtChanged messages to trigger. I was expecting > the dataChanged message to trigger whenever the arrayData of the widget was > set to something different but I get nothing. > > Any ideas/advice? > > Cheers, > > Terry > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
