Datagrids and Nested Behaviors

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jul 19 10:38:39 EDT 2018


Hi Tom. 

I usually find a way around things myself, but in this case, not. I have a main form, where all the datagrids behave the same way on doubleMouseUp, selectionChanged etc. I then have what I call subForms (substacks that detail a given table and it's dependent tables like devices and accessories for example) that behave in a different way, but all subForm datagrids have the same behavior, different from the main form. 

I was hoping to be able to insert a special behavior between the datagrids and the default behaviors. I also tried what apparently used to work, copying the datagrid behavior to a button then setting the datagrid behavior to the new button. That also does not work. 

Bob S


> On Jul 18, 2018, at 17:10 , Tom Glod via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Bob, If you really wanna make things interesting ..... try putting a
> grid inside a grid..... lol..... it almost works.  Which means to me that
> "self referencing" is imperfect in the grid library.  that might pertain to
> the problems you experience ....and without the ability to debug the grid
> library...its tough going.  But i think I have learned that sometimes when
> i find i can't just get something right....i end up finding a way easier
> way later..hope thats the case for you,





More information about the Use-livecode mailing list