>I have a closable form with a close buttom on a toolbar. When I use the close buttom, the sequence works (QueryUnload, release and destroy). Otherwise, go directly to destroy method (the code in release and queryunload is not executed). How can i fix it, with the closable property = .t.?
QueryUnload fires for interactive closing (user clicks close box, etc.) and does not fire for programmatic closing (release method). That's normal behaviour, programmatic closing can be handled at the same place where you call it.
Edward Pikman
Independent Consultant