how to scroll a datagrid form by script

zryip theSlug zryip.theslug at
Fri Aug 19 16:48:01 EDT 2011

On Fri, Aug 19, 2011 at 10:35 PM, Bob Sneidar <bobs at> wrote:
> Won't the API do that already when you set the dgHilitedIndex?

You're totally right, Bob. dgHilitedIndex and dgHilitedLine will
scroll automatically the datagrid to the first selected line.

In some case it could be interesting to scroll a datagrid without to
select anything and ScrollIndexIntoView is really helpful for doing
that. 8-)

Best regards,
-Zryip TheSlug- wish you the best! 8)

More information about the Use-livecode mailing list