If construction bug in 5.5.2 ?
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Sep 28 09:39:57 EDT 2012
Hi Robert,
The reason is that in 5.5.2 the select command may trigger the openField message. Maybe the following solves it:
on openField
answer bla with "Yes" or "No" -- etc
if it is "No" then
select empty
else
lock messages
select the text of me
unlock messages
end if
end openField
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
On 28 sep 2012, at 15:31, Robert Presender wrote:
> Create a text entry field with content 00.00
> Field script is:
>
> on openField
> answer information "Want to enter a new value?" with "No" or "Yes" titled "New Amount"
> if it = "No" then select empty
> if it = "Yes" then select text of me
> end openField
>
> Using 5.5.2, No works fine but Yes keeps repeating "Want to enter a new value?
> Using 5.5.1, No and Yes work as expected.
>
> If a bug, would someone file a bug report. I'm just a hobbyist.
>
> Bob
> (702) 458-8519
More information about the use-livecode
mailing list