Problem with FocusIn
Stephen Barncard
stephenREVOLUTION2 at barncard.com
Sun Nov 4 10:06:14 EST 2007
check the field locking.
from the docs:
If the control is an unlocked field or a button whose menuMode is
"comboBox", the openField message is sent to it instead of the
focusIn message.
A locked field receives the focusIn message when the user tabs to it
or otherwise makes it active (focused), or when text in it is
selected by a handler.
>Hi,
>
>i have problems with the focusIn message.
>
>What i want to achive is to remember the value of a field
>when the user is editing it (on focusIn). After that (on focusOut),
>i would like to check the new value against the remembered one.
>If they are different, the change has to be saved,
>so i ask the user to do so when he's leaving the card.
>
>I think the focusIn message is not sent because even something like
>
>on focusIn
> beep
>end focusIn
>
>does not work.
>Even the example in the dictionary is not working.
>
>Obviously i am missing something here. Any ideas?
>
>Regards,
> Claus.
>
>BTW: It's 2.9.0 dp1 on a Win2k box
>--
>http://www.danasoft.com/sig/dsagsdg.jpg
>_______________________________________________
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list