Another Tree View Oddity

Brian Milby brian at milby7.com
Thu Sep 6 00:06:34 EDT 2018


Bug report and PR submitted.

https://quality.livecode.com/show_bug.cgi?id=21567

https://github.com/livecode/livecode/pull/6675

On Wed, Sep 5, 2018 at 7:12 PM Brian Milby <brian at milby7.com> wrote:

> That should be pretty easy to change. You can actually pass any invalid
> string (I.e. non-existing key path) to clear, but empty makes more sense.
>
> Thanks,
> Brian
> On Sep 5, 2018, 5:21 PM -0500, Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com>, wrote:
>
> Not a biggie, but try getting the hilitedElement of a tree view widget
> when nothing is selected. It returns empty. Now try setting the
> hilitedElement of a tree view widget to empty. Runtime error! You have to
> set it to 0, and then it still returns and displays empty in the property
> inspector! Odd huh?
>
> Bob S
>
>
> _______________________________________________
> 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