Couldn't get on focusOut to work in a project so I started a new project with two edit fields and applied a on focusOut sub to one of them and tabbed in and out of each of them and nothing.
Is there a property I need to set for this to work?
Thanks,
~Garrett
on focusOut - not working?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
on focusOut - not working?
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Re: on focusOut - not working?
Hi Garrett,
FocusIn and FocusOut don't work with editable fields. Use exitField and closeField instead. This is discussed in the LiveCode dictionary. Please, make sure to read the dictionary entries about exitField and closeField, as they are quite different.
Kind regards,
Mark
FocusIn and FocusOut don't work with editable fields. Use exitField and closeField instead. This is discussed in the LiveCode dictionary. Please, make sure to read the dictionary entries about exitField and closeField, as they are quite different.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: on focusOut - not working?
thank you Mark.
I did read the dictionary on this and exitfield and closefield. It confused me and I did not realize that the edit field was not able to use the focusout.
Thanks again,
~Garrett
I did read the dictionary on this and exitfield and closefield. It confused me and I did not realize that the edit field was not able to use the focusout.
Thanks again,
~Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)