Tree view widget messages not firing?

Brian Milby brian at milby7.com
Sun Sep 22 13:21:50 EDT 2024


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
brian at milby7.com

> On Sep 22, 2024, at 6:56 AM, Terry Judd via use-livecode <use-livecode at lists.runrev.com> 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
> 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



More information about the use-livecode mailing list