I’ve done so much in that widget that it was easy to tackle. From an English like syntax, I think it just makes sense to use the “empty” method of removing the selection.
Thanks, Brian On Sep 6, 2018, 9:43 AM -0500, Bob Sneidar via use-livecode <use-livecode@lists.runrev.com>, wrote: > 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@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 <br...@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode