Datagrids and Nested Behaviors

Bob Sneidar bobsneidar at iotecdigital.com
Mon Jul 23 18:46:53 EDT 2018


I tried this, I apparently don't have permission to save the file once edited. It's probably in the Livecode APP bundle. I'll poke around and test this later. 

Bob S


> On Jul 23, 2018, at 15:22 , Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> my solution would be to change private function _ResourceStack of stack RevDataGridLibraryBehaviorsDataGridButtonBehavior to
> 
> private function _ResourceStack
>  local theStack, theCharNo
>  put the behavior of me into theStack
> 
>  repeat
>     if trueWord - 1 of theStack is "revDataGridLibrary" or theStack is empty then
>        exit repeat
>     else
>        put the behavior of theStack into theStack
>     end if
>  end repeat
> 
>  if theStack is not empty then
>     put offset(" of stack", theStack) into theCharNo
>     delete char 1 to (theCharNo + 3) of theStack
>  end if
> 
>  return theStack
> end _ResourceStack





More information about the use-livecode mailing list