the focusedObject

william humphrey shoreagent at gmail.com
Sun Jan 11 18:51:41 EST 2009


Simpler frustration. Please why doesn't this do what I'm expecting?

*on* returninfield

   *if*  field id 1045 of card id 1002 of stack "BLEdit" of stack "clients"
is the focusedObject *then*

      *pass* returninfield

   *else*

      returnkey

   *end* *if*

*end* returninfield


When I hit a return key in field id 1045 it sends "returnkey",  what I'm
trying to do is send "returnkey" no matter what field the cursor is in
except for field id 1045 which has more then one line and which needs to
allow returns.



More information about the use-livecode mailing list