When I add a second button to the script, it then behaves as explained: a button only has the Cancel or Default property depending on which was set last. I cannot get a form with 2 buttons to have one button as Default and Cancel.

[EDIT]
After reading Eddie's edit it appears he is correct. You can have a button as Default and Cancel if it is the last button added. I got that functionality when I moved the button that I set those properties on to the bottom of the script.

-Ben
http://www.rgcweb.org/kix

[ 03. January 2003, 18:40: Message edited by: Ben Dulaney ]