Another Tree View Oddity

Bob Sneidar bobsneidar at iotecdigital.com
Thu Sep 6 10:43:16 EDT 2018


Thanks Brian. I would have done it, but it seemed small potatoes to me. And I never know if there is a good reason it works the way it does. 

Bob S


> On Sep 5, 2018, at 21:06 , Brian Milby via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
>> 
>> 
> _______________________________________________
> 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