closeField

Len Raymond lenraymond at yahoo.com
Tue Nov 16 17:17:46 EST 2004


Mark,

I just joined this list and don't know how to use it yet--hence this
email.

Putting this handler in your field might solve your problem.

  on mouseDown
    select empty --SHOULD FORCE REMOVAL OF FOCUS FROM A FIELD
  end mouseDown

Len

--- Mark Wieder <mwieder at ahsoftware.net> wrote:
> Jacque-
> 
> Tuesday, November 16, 2004, 11:33:27 AM, you wrote:
> 
> JLG> There's this little glitch that has bitten me more than once:
the
> JLG> closefield message isn't always sent if you remove focus from a
field by
> JLG> clicking a button. To get the closefield message, you have to
click on
> JLG> the card to remove the focus first, then click the button.
> 
> Yes, I saw the note in the documentation about MacOS buttons,
> but here I'm just clicking on a different field. The only thing
> I can figure out here is that something's grabbing the
> closeField message before even the MessageWatcher sees it.
> Maybe because my field is in a group? I'm still plugging away
> at it.
> 
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the Use-livecode mailing list