Re: focusIn

2015-03-25 Thread dunbarx
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

Re: focusIn

2015-03-25 Thread Richmond
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

Re: focusIn

2015-03-25 Thread Kay C Lan
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

Re: focusIn

2015-03-25 Thread Richmond
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

RE: focusIn

2015-03-25 Thread John Dixon
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 >