Trapping the close button
hi,
can we trap the clicking of close button of a vb form. if so can even trap the alt + f4 command.
my main prob is i want to display the msgbox before closing the project. so that by clicking the ok button it has to close if they click cancel nothing should happen.
i tried to write it in unload function but i didnt find any solution.
plz can anybosy helps me plzzzz.:confused:
Re: Trapping the close button
Quote:
Originally posted by vbinfant
i tried to write it in unload function but i didnt find any solution.
plz can anybosy helps me plzzzz.:confused:
Unload isnt a function;)
Re: Re: Trapping the close button
Quote:
Originally posted by Madboy
Unload isnt a function;)
that's very unecessary.... don't do that
Re: Re: Re: Trapping the close button
Quote:
Originally posted by BuggyProgrammer
that's very unecessary.... don't do that
Sorry, but neither was your reply:lol:
Just letting him know, it might confuse people later on:rolleyes:
Re: Re: Re: Re: Trapping the close button
Quote:
Originally posted by Madboy
Sorry, but neither was your reply:lol:
Just letting him know, it might confuse people later on:rolleyes:
what is one post if you wouldn't do that in that future :)