Hi, I've got a control that display an error msg if false and I'd like to completly close the app when button its has been clicked, haw can I do so? Also, I noticed that I can put my PROCs into libraries, how shall I declare them? (as modules, or classes or?) JY --