> I created a new window..... if I closed the window without using it then >selected a Menu Item the program would crash with the "25 error" but if I used >the window (clicked a button) then closed the window and selected a Menu Item >all went well and the program never crashed. Solution: I put Edit Field #0 >as the last line in the FN used to create the new window. Now it doesn't >crash anymore. This is really strange--I wouldn't trust the fix because it might be fixing the symptom instead of the underlying problem, which could lead to unexplained crashes later on. Try to narrow down the exact line of offending code or post the whole function to the list. It's been some time since I've used edit fields and buttons myself but someone is bound to find the problem. ____________ wave (Toronto, Canada) Much better at "OOPS!" programming than OOP programming.