>Why would you want to do that? Your application will work differently then all other Windows apps and that causes confusion and frustration to the user.
>
>>I would like to block users from using the X in the control box to close certain forms but would like to leave them the option of minimizing or maximizing the screens. Is there a way to do that? All I can find is options to eliminate the minimize and maximize buttons or eliminate the control box altogether.
>>Thanks and Merry Christmas to all.
I don't disagree with you. However, the users want to make sure that if anything that has been changed, they are given the option to save their changes. Their screens have up to 10 tabs (user requirement, not my idea) on them with many tables that are affected. I have code that checks all the Close buttons and the leave events on the tab pages. However, the X in the control box apparently bypasses the leave event for the tab pages so none of those automatic saves fires. My thought was to eliminate the X of the control box so they have to use the Close button. I suppose the alternative is to add code to the the closing event to check for changes in each and every table. That just seems like a maintenance nightmare.
If you have a better idea, I'd love to hear it. Thanks.
Linda Harmes
HiBit Technologies, Inc.