Re: directory tree view

2018-11-16 Thread Mike Kerner via use-livecode
Yep, some more testing shows that it was a bug in my test code that was
leading me to believe that the widget object code was embedded in the stack.
___
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


Re: directory tree view

2018-11-16 Thread Brian Milby via use-livecode
A widget in a stack is just a reference until an application is built where the 
compiled LCB and resources are packaged with the app*.  Opening a stack with a 
different version of the IDE will use the included widgets from that version of 
the IDE.  User installed widgets will remain constant as long as a compiled 
version is present for that particular version of the IDE (you can create a 
package that contains versions compiled for both 8 and 9).

Widget versions are distinct from the overall IDE version.  I have looked 
briefly and am not entirely sure why the versions don’t appear in the 
dictionary.  The metadata is available.

* It is possible to embed a widget inside a stack and have it install but I 
have not looked into how that is done.

Thanks,
Brian
On Nov 16, 2018, 3:14 PM -0600, Mike Kerner via use-livecode 
, wrote:
> Hmm. I just seem to have answered my own question. It seems that it is
> the latter. I think we need to have a discussion with LC about widget
> versions.
>
> On Fri, Nov 16, 2018 at 4:11 PM Mike Kerner 
> wrote:
>
> > Brian,
> > So walk me through this: Is the LCB code for the widget a component of
> > the widget itself or of LC - i.e. is the widget in a stack just a reference
> > to the widget in LC (which would mean that the code changes with each
> > version of LC, until you do a build), or is it dependent on the version of
> > LC that was used to build the stack that contains the widget, i.e. the way
> > to update the widget in my project is to open the stack with the RC, delete
> > the widget, reinstall it with the new version, and then the changes to the
> > widget code base apply to all 9.x versions (if that's the case, we need to
> > have a discussion with LC about being able to see which version of a widget
> > is installed in a stack...)
> >
> > On Fri, Nov 16, 2018 at 11:23 AM Brian Milby via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > It would not work with 8 unless compiled with 8. It should work with any
> > > release of 9.
> > >
> > > Thanks,
> > > Brian
> > > On Nov 16, 2018, 9:06 AM -0600, Mike Kerner via use-livecode <
> > > use-livecode@lists.runrev.com>, wrote:
> > > > Brian,
> > > > The widgets are backward-compatible, right? I can include the new
> > > version
> > > > of the widget and it will work in any version of 8 or 9?
> > > > ___
> > > > 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
> >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> > and did a little diving.
> > And God said, "This is good."
> >
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> ___
> 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

Re: directory tree view

2018-11-16 Thread Mike Kerner via use-livecode
Hmm.  I just seem to have answered my own question.  It seems that it is
the latter.  I think we need to have a discussion with LC about widget
versions.

On Fri, Nov 16, 2018 at 4:11 PM Mike Kerner 
wrote:

> Brian,
> So walk me through this:  Is the LCB code for the widget a component of
> the widget itself or of LC - i.e. is the widget in a stack just a reference
> to the widget in LC (which would mean that the code changes with each
> version of LC, until you do a build), or is it dependent on the version of
> LC that was used to build the stack that contains the widget, i.e. the way
> to update the widget in my project is to open the stack with the RC, delete
> the widget, reinstall it with the new version, and then the changes to the
> widget code base apply to all 9.x versions (if that's the case, we need to
> have a discussion with LC about being able to see which version of a widget
> is installed in a stack...)
>
> On Fri, Nov 16, 2018 at 11:23 AM Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> It would not work with 8 unless compiled with 8.  It should work with any
>> release of 9.
>>
>> Thanks,
>> Brian
>> On Nov 16, 2018, 9:06 AM -0600, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com>, wrote:
>> > Brian,
>> > The widgets are backward-compatible, right? I can include the new
>> version
>> > of the widget and it will work in any version of 8 or 9?
>> > ___
>> > 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
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


Re: directory tree view

2018-11-16 Thread Mike Kerner via use-livecode
Brian,
So walk me through this:  Is the LCB code for the widget a component of the
widget itself or of LC - i.e. is the widget in a stack just a reference to
the widget in LC (which would mean that the code changes with each version
of LC, until you do a build), or is it dependent on the version of LC that
was used to build the stack that contains the widget, i.e. the way to
update the widget in my project is to open the stack with the RC, delete
the widget, reinstall it with the new version, and then the changes to the
widget code base apply to all 9.x versions (if that's the case, we need to
have a discussion with LC about being able to see which version of a widget
is installed in a stack...)

On Fri, Nov 16, 2018 at 11:23 AM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It would not work with 8 unless compiled with 8.  It should work with any
> release of 9.
>
> Thanks,
> Brian
> On Nov 16, 2018, 9:06 AM -0600, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > Brian,
> > The widgets are backward-compatible, right? I can include the new version
> > of the widget and it will work in any version of 8 or 9?
> > ___
> > 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



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


Re: directory tree view

2018-11-16 Thread Brian Milby via use-livecode
It would not work with 8 unless compiled with 8.  It should work with any 
release of 9.

Thanks,
Brian
On Nov 16, 2018, 9:06 AM -0600, Mike Kerner via use-livecode 
, wrote:
> Brian,
> The widgets are backward-compatible, right? I can include the new version
> of the widget and it will work in any version of 8 or 9?
> ___
> 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

Re: directory tree view

2018-11-16 Thread Mike Kerner via use-livecode
Brian,
The widgets are backward-compatible, right?  I can include the new version
of the widget and it will work in any version of 8 or 9?
___
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


Re: directory tree view

2018-11-15 Thread Brian Milby via use-livecode
This just leverages the included widget.  The latest RC no longer needs the 
hack to clear the hilited item (empty no longer throws an error).

Thanks,
Brian
On Nov 15, 2018, 6:00 PM -0600, Bob Sneidar via use-livecode 
, wrote:
> Do I have to create/compile the widget before being able to use the stack? 
> Never done widgets before...
>
> Bob S
>
>
> > On Nov 15, 2018, at 11:34 , Mike Kerner via use-livecode 
> >  wrote:
> >
> > I fought through the various tree view issues and got it to build a
> > directory list that's kind-of functional.
> > Please break and report issues on the repo.
> > https://github.com/macMikey/directoryTreeView
>
>
> ___
> 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

Re: directory tree view

2018-11-15 Thread Bob Sneidar via use-livecode
Do I have to create/compile the widget before being able to use the stack? 
Never done widgets before...

Bob S


> On Nov 15, 2018, at 11:34 , Mike Kerner via use-livecode 
>  wrote:
> 
> I fought through the various tree view issues and got it to build a
> directory list that's kind-of functional.
> Please break and report issues on the repo.
> https://github.com/macMikey/directoryTreeView


___
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


directory tree view

2018-11-15 Thread Mike Kerner via use-livecode
I fought through the various tree view issues and got it to build a
directory list that's kind-of functional.
Please break and report issues on the repo.
https://github.com/macMikey/directoryTreeView

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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