Cannot focus on a datagrid??

Bob Sneidar bobs at twft.com
Mon Dec 19 13:25:57 EST 2011


Hi all. 

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! 

Bob





More information about the use-livecode mailing list