On Mon, Dec 19, 2011 at 7:25 PM, Bob Sneidar <[email protected]> wrote:
> Hi all.
Hi Bob,
> Is this normal? I have in a script (or the message box) focus on group
> "dgSites". This is a datagrid. I get an error:
> Message execution error:
> Error description: focus: not a valid control
> Hint:
>
> A datagrid is not a valid control for receiving the focus command?? Isn't
> that odd? Or is it a bug? Of course I can hack around it by using:
> focus on nothing;tabKey
>
> But you all know how I HATE to hack around things.... mmm..... okay I can't
> back that up. But still!
Have you tried to use the dgFocus property from the datagrid API?
set the dgFocus of group "DataGrid" to {true | false}
Best Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode