Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
Oh I get it! Crap. I am creating a little pallette I am callign QuickNotes, and the idea is that double clicking on an entry will add the thing you double clicked on after the current selection in the topstack. I was hoping I could just doubleclick a node to do this, but I can see I cannot. I

Re: Another Tree View Oddity

2018-09-06 Thread Brian Milby via use-livecode
It is working here. You only get the message for leaf nodes. In widget script I have: on actionDoubleClick pPath put pPath end actionDoubleClick Thanks, Brian On Sep 6, 2018, 12:35 PM -0500, Bob Sneidar via use-livecode , wrote: > If it is supposed to, I can file the bug report. Not asking anyo

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
If it is supposed to, I can file the bug report. Not asking anyone to do my work for me. I just need to know if it is supposed to and isn't, and I'll file it. Bob S > On Sep 6, 2018, at 10:33 , Bob Sneidar via use-livecode > wrote: > > actionDoubleClick message is not getting sent or else

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
actionDoubleClick message is not getting sent or else trapped by the widget either. Is that a read/write function only? I have a tree view set to read only. Bob S > On Sep 6, 2018, at 09:04 , Brian Milby via use-livecode > wrote: > > I’ve done so much in that widget that it was easy to tac

Re: Another Tree View Oddity

2018-09-06 Thread Brian Milby via use-livecode
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 , wrote: > Thanks Brian. I would have done it, but

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
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 > wrote: > > Bug report and PR submitted. > > https://quality.livecode.com/show_bug.c

Re: Another Tree View Oddity

2018-09-05 Thread Brian Milby via use-livecode
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 wrote: > That should be pretty easy to change. You can actually pass any invalid > string (I.e. non-existing key path) to cl

Re: Another Tree View Oddity

2018-09-05 Thread Brian Milby via use-livecode
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 , wrote: > Not a biggie, but try getting the hilitedElement of a tree view w

Another Tree View Oddity

2018-09-05 Thread Bob Sneidar via use-livecode
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! Od