Re: Tree View / Custom Properties PI

2018-08-10 Thread Curry Kenworthy via use-livecode
Brian: > So, it looks like adding 4 lines of code to the IDE > and changing 1 word in the Tree View widget source > can remove a few of the irritation points. Nice! Thanks for looking into this part of it. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and

Re: Tree View / Custom Properties PI

2018-08-10 Thread Brian Milby via use-livecode
Events are sent when the button is clicked, just need to verify everything. It may require a different message, but have not gotten that far. Modifying the widget is easy though. Thanks, Brian On Aug 10, 2018, 10:24 AM -0500, Bob Sneidar via use-livecode , wrote: > And the + button is actually

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
And the + button is actually an element of the treeview widget, so good luck with that. You would have to trap for an event when the + button is clicked, and I think if I understand widgets, that the event would have to be exposed to the IDE by the widget. Bob S > On Aug 10, 2018, at 08:19

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
You would need to set the focus to the field for the key value when the + button was clicked. Unfortunately, the revInspector stack has a blank card, so apparently it is built "on the fly". I cannot discern what the field name or the + button name is. Bob S > On Aug 9, 2018, at 22:01 ,

Tree View / Custom Properties PI

2018-08-09 Thread Brian Milby via use-livecode
Before going too far, I'd like to get some feedback on the best way to address one of the issues that Curry brought up. Currently, when in the Tree View widget (which is used in the Custom Properties PI), if you click on the "+" icon to add a new array key, the value in the existing key is lost