Datagrid Basics

zryip theSlug zryip.theslug at
Thu Aug 19 19:35:16 EDT 2010

On Thu, Aug 19, 2010 at 9:37 PM, zryip theSlug <zryip.theslug at> wrote:
> On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley <ray at> wrote:
>> Zryip,
>> Thanks for the suggestion.  I'll give it a try.
> Ray,
> I just upload a new stack in the Slug's lab implementing this trick.
> You can download it by following this link:
> Click on the show script button to open the script.
> And I share here the handler added in the second data grid:
> on dgScrollbarDragV
>   set the dgVScroll of grp "datagrid 1" to the dgVScroll of me
>   pass dgScrollbarDragV
> end dgScrollbarDragV

I have just pushed the experiment a little ahead by synchronizing the
lines selected:

on selectionChanged pHilitedIndex, pPrevHilitedIndex
   set the dgHilitedIndex of grp "datagrid 1" to pHilitedIndex
end selectionChanged

I updated the corresponding lab's stack.

-Zryip TheSlug- wish you the best! 8)

More information about the Use-livecode mailing list