DataGrid Focus

zryip theSlug zryip.theslug at gmail.com
Mon Feb 7 14:40:02 EST 2011


On Mon, Feb 7, 2011 at 8:29 PM, Nonsanity <form at nonsanity.com> wrote:
> I messed with DataGrids once when they first came out, but haven't touched
> them since. I've yet to find a comprehensive list of all the ways to
> interact with one, though I've found lists of the dgProps, etc. So far I'm
> just googling for whatever functionality I need, but I can't seem to find
> this bit:
>
> How do you set the focus to a DataGrid programatically?
>
> The "focus on" command doesn't do the trick here, as it doesn't seem to work
> on groups.

Hi Chris,

You probably missed the dgFocus property in the DataGrid documentation:

set the dgFocus of grp "myDatagrid" to true



Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc




More information about the Use-livecode mailing list