Revolution IS rock-solid

Brian Yennie briany at qldlearning.com
Wed Feb 11 19:16:52 EST 2004


Although it probably shouldn't cause a crash, I think you are probably 
creating endless recursion here.
Every time the field closes, you are putting the focus back on it- so 
when you try to close the stack it is probably repeatedly trying to 
close the field, getting the focus back, trying to close it again, 
getting the focus,...etc

HTH
Brian

> on closeField
>   set the caseSensitive to false
>   find field "Find Field" in  field "list field"
>   focus on field "find field"
> end closeField
>
> on exitField
>   set the caseSensitive to false
>   find field "Find Field" in  field "list field"
>   focus on field "find field"
> end exitField
>  Now when I press a button "close this stack" the application crashes.



More information about the use-livecode mailing list