Well, there is no difference except that different messages are sent under
different conditions.
That seems different to me.
Whether each message ought to be sent in both cases, or rather, why do we
need to distinguish at all, is perhaps a question. It might be useful, after
all. But it should no
I got things a bit wrong as I wanted the field backGroundColor to change
when
end-users selected a field, so, after going for a walk I changed things
to the far simpler:
on mouseEnter
set the backGroundColor of me to green
end mouseEnter
on mouseLeave
set the backGroundColor of me to red
LC 7.0.3
New stack, two new fields with their lockText set to true.
In both fields their scripts:
on focusIn
set the backgroundColor of me to green
end focusIn
on focusOut
set the backgroundColor of me to red
end focusOut
Pressing the Tab key moves the focus from one to the other and the
b
On 25/03/15 09:14, John Dixon wrote:
Richmond...
from the dictionary... 'If the control is an unlocked field . the
openField message is sent to it instead of the focusIn message.'
Is your field unlocked ?...:-)
Cannot see any difference really.
Date: Wed, 25 Mar 2015 08:57:47 +0200
Richmond...
from the dictionary... 'If the control is an unlocked field . the
openField message is sent to it instead of the focusIn message.'
Is your field unlocked ?...:-)
> Date: Wed, 25 Mar 2015 08:57:47 +0200
> From: richmondmathew...@gmail.com
> To: use-livecode@lists.runrev.com
>