Datagrid Basics

zryip theSlug zryip.theslug at
Thu Aug 19 15:37:29 EDT 2010

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.


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

To correct myself I'm using:
- the dgVScroll property more appropriated to the task
- and the dgScrollbarDragV sent to the Data Grid engine when an user
used the datagrid's vertical scrollbar.

As far as I know the dgScrollbarDragV is not described in the data
grid API but it exists in the engine. The dgScrollbarDragH as well.

-Zryip TheSlug- wish you the best! 8)

More information about the Use-livecode mailing list