sarah.reichelt at gmail.com
Sun Jan 11 19:01:42 EST 2009
On Mon, Jan 12, 2009 at 9:51 AM, william humphrey <shoreagent at gmail.com> wrote:
> 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
> *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.
I prefer to use "the target" and would suggest something like this:
if the long id of the target = field id 1045 of card id 1002 of
stack "BLEdit" of stack "clients" then
(watch for line wrap on the 2nd line).
More information about the Use-livecode