Close field anomaly

Peter T. Evensen pevensen at siboneylg.com
Tue May 1 16:22:22 EDT 2007


Actually, this isn't a bug.  If "select the text of me"didn't cause 
closeField to be sent again, the user could then get out of an invalid 
field by clicking twice: once to select it, and then, since the field 
didn't change, closeField wouldn't be called, and the user could move 
own, leaving an invalid value.

Éric Miclo wrote:
> Yes, and removing "select the text of me" enables the fact that on the 
> second try you can click in another field.
> So I suspect that selecting text inside a field is considered as a 
> change, something that is not true.
> For me it is definitively a bug.
>
> Best,
>
> ÉrIC
>
> Le 1 mai 07 à 04:31, Chipp Walters a écrit :
>
>> On 4/30/07, Mark Smith <mark at maseurope.net> wrote:
>>> At a guess, I'd think it's because when you click in fld 2, you close
>>> fld1, selecting it's text (re-opening it), thereby preventing you
>>> from selecting fld 2...ie. once fld 1 is selected, selecting anything
>>> else will cause fld 1 to be re-selected...
>>
>> Nope, I don't think so. Once fld 1 is selected, selecting anything
>> else shouldn't cause another closeField message sent to fld 1.
>> Remember, closeField is sent ONLY to a field where there has been a
>> change. I can understand it flagging the first time, but after that I
>> suppose the closeField has been reset, non?
>>
>> I'm trying to create a validation script which fires when the field is
>> closed. Based upon this bug and the one I just mentioned on this list,
>> I'm not sure how to accommodate field validation anymore-- using the
>> closeField message.
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> -- My NeXT computer will Be a Mac too! --
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list