I have a program that uses a form for its interface and most of the autocad forms will allow the user to hit escape to close it (ie the layer manager box.) I think it would be simple but don't know how to do it. Thanks David Urban