how to scroll a datagrid form by script

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


On Fri, Aug 19, 2011 at 10:35 PM, Bob Sneidar <bobs at twft.com> 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)
http://www.aslugontheroad.co.cc




More information about the Use-livecode mailing list