Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How can I save before disposing

yes Jayaram Im talking about the close button .. By the way Steve
thank you, your solution works perfectly for me...


On Tue, 26 Oct 2004 17:10:58 -0400, Jayaram Krishnaswamy
<jkrishnaswamy@xxxxxxxxxxx> wrote:
> By X button on shell, do you mean the 'close' button in the three buttons at
> top right?
> mysorian
> ----- Original Message -----
> From: "Brian Al Saadi" <brian.alsaadi@xxxxxxxxx>
> To: <platform-swt-dev@xxxxxxxxxxx>
> Sent: Tuesday, October 26, 2004 4:46 PM
> Subject: [platform-swt-dev] How can I save before disposing
> 
> > Hi there
> >
> > when clicking the X button on a shell, I need to ask the user of the
> > application if they want to exit or not. When the user chooses not to
> > exit I dont want to close the application.
> >
> > I was able to acheive this by having an Exit button. But what if the
> > user hits the X button on the shell itself.. That seems to close the
> > application no matter what to choose..
> >
> >
> > thanks for your help
> > Brian
> > _______________________________________________
> > platform-swt-dev mailing list
> > platform-swt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 
> _______________________________________________
> 
> 
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>


Back to the top