OpenField mystery

Charles E Buchwald charles at buchwald.ca
Sat Aug 23 14:04:44 EDT 2014


Graham,
I'm just speculating... Is one of your fields receiving keyboard focus when the palette receives focus?
Do you get the same "openField" for each button press in the palette, or just the first one upon returning to the palette?
- Charles

On 23 Aug 2014, at 12:14 PM, Graham Samuel <livfoss at mac.com> wrote:

> I have a palette with a lot of objects on it. There are some fields and some buttons. I have just realised that when I click on one of the buttons, before executing the 'mouseUp' handler for the button, the engine fires an 'openField' for one of the fields. I can't see what I have done to cause this, but it's causing chaos! Happens in the IDE and the corresponding standalone. This appears contrary to the LC Dictionary, which says
> 
>> Sent to an unlocked field when you click or select text in that field.
> 
> I suppose (as usual) it's something I've done, but I can't see what. The cursor is not showing in the field.
> 
> Has anyone any suggestion as to why this is happening?
> 
> TIA
> 
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Charles E. Buchwald
CEO/Director General
Museografica Digital
http://digital.museografica.com

Mac OSX 10.9.4, LC 6.6.2 Commercial

LC Developer Tools: http://buchwald.ca/developer-tools/

Email Notice: http://wp.me/P3aT4d-33





More information about the use-livecode mailing list