[BUG][BFAV] Hitting the X button closes the DRNP without warning

Hernan Tylim htylim at yahoo.com.ar
Tue Aug 17 22:22:47 UTC 2004


Hi, 
	Or maybe you can implement #canDiscardEdits on the SystemWindow
model. 

	I don't really remember how to use it, but I think that making
it to return false you get a standard confirmation dialog before closing
the window.

Regards,
Hernán

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Karl Ramberg
> Sent: Tuesday, August 17, 2004 4:50 PM
> To: The general-purpose Squeak developers list
> Subject: Re: [BUG][BFAV] Hitting the X button closes the DRNP 
> without warning
> 
> 
> 
> 
> Frank Shearar wrote:
> > 
> > Now that BFAV uses SystemWindows for the DRNP, if you click 
> the close button you don't get a confirmation dialog, and the 
> window just closes.
> > 
> Send a 'self makeUnclosable' to the window at some point when the DRNP
> is initialized.
> 
> Karl
> 




More information about the Squeak-dev mailing list