Datagrids and Nested Behaviors

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jul 24 16:53:26 CEST 2018


I did so. I get this when opening my test stack:

91,260,123
62,260,123
77,260,123
456,260,57
534,260,123
253,260,123
241,236,1,_Initialize
353,0,0,stack "/Applications/LiveCode Community 9.0.1 (rc 1).app/Contents/Tools/Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript"
573,188,1,_Initialize

I'll poke around later. 

Bob S


> On Jul 23, 2018, at 22:12 , Brian Milby via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> local sResourceStack
> private function _ResourceStack
>   local theStack, theCharNo
> 
>   if sResourceStack is empty then
>      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
>      put theStack into sResourceStack
>   end if
> 
>   return sResourceStack
> end _ResourceStack




More information about the use-livecode mailing list