Another LC9.6.9rc2 regression? This time with Datagrids

panagiotis m merakosp at gmail.com
Wed Dec 14 08:08:26 EST 2022


Nice detective work @Mark Wieder <mwieder at ahsoftware.net>

Indeed, in LC 9.6.9 rc2 we added support for nested DG behaviors, so this
code was updated.

Hopefully this will be fixed in LC 9.6.9 rc3

Kind regards,
Panos
--

On Wed, 14 Dec 2022 at 07:45, Mark Wieder via use-livecode <
use-livecode at lists.runrev.com> wrote:

> On 12/13/22 17:59, Mark Wieder via use-livecode wrote:
> > Running your sample stack, I get an "error in object expression" at line
> > 4793 in handler "_table.CreateHeaders" of stack
> > "RevDataGridLibraryBehaviorsDatGridButtonBehavior".
> > Seems to be because sResourceStack is empty.
> >
> > Not sure if this is any help.
> >
>
> ... and yes, that code did change from 9.6.8 to 9.6.9-rc2.
> Previously the _table.CreateHeaders handler started off by calling
> _ResourceStack() to set the stack location. Now it relies on the
> _Initialization handler being called previously to do that task.
>
> And it's apparently not being called. Adding the line
>
> put _ResourceStack() into sResourceStack
>
> at the start of that handler seems to avoid the problem.
>
>
> --
>   Mark Wieder
>   ahsoftware at gmail.com
>
>
> _______________________________________________
> 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