Shadowboxer,
You could handle the Closing event to do something different. Such as
me.hide & setting e.Cancel to true.
The problem then becomes how to determine if the X was clicked or the
Form.Close method was called. I don't believe you can without extra code.
By the time you get to the dispose method it is too late to stop it.
Hope this helps
Jay
"Shadowboxer" <sh*********@mac.com> wrote in message
news:9W********************@giganews.com...
How do I prevent a for from being disposed of when you click the 'X'
button.
I'd like to override the dispose method somehow so it just does a me.hide
any ideas? thanks -J