Another LC9.6.9rc2 regression? This time with Datagrids

Mark Wieder ahsoftware at sonic.net
Wed Dec 14 00:44:42 EST 2022


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




More information about the use-livecode mailing list