Hi Torsten
 
I assume that you want to display a confirmation dialog before closing the window.
 
1. set the defaultCloseOperation of your window to IWindowConstants.DO_NOTHING_ON_CLOSE.
2. add a windowlistener on your window and display an ULCAlert which closes the window programmatically after the confirmation (ULCWindow.setVisible(false).
 
Best regards
Sibylle
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Hofmann, Torsten
Sent: Freitag, 8. September 2006 08:21
To: [email protected]
Subject: WG: [ULC-developer] Implement close dialog before closing window

Have someone an idea, to do this
 

Torsten Hofmann
Dipl. - Informatiker (FH)
IT Consultant Business Integration
 
Würth Phoenix GmbH
Drillberg 6
D-97980 Bad Mergentheim

(Phone: +49 7931 91 6284
7 Fax: +49 7931 91 7284
+E-Mail: torsten.hofmann@wuerth-phoenix.de
 
    Website: www.wuerth-phoenix.de

 


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hofmann, Torsten
Gesendet: Mittwoch, 6. September 2006 17:13
An: [email protected]
Betreff: [ULC-developer] Implement close dialog before closing window

Hello
 
Is it possible in ULC when i click on the right upper corner on the close icon, to open i dialog, in which i could decide to close or not to close the application (like "Are you sure, that you want to close the application")
 
Is this possible, if yes how?
 
regards
 
 

Torsten Hofmann
Dipl. - Informatiker (FH)
IT Consultant Business Integration
 
Würth Phoenix GmbH
Drillberg 6
D-97980 Bad Mergentheim

(Phone: +49 7931 91 6284
7 Fax: +49 7931 91 7284
+E-Mail: torsten.hofmann@wuerth-phoenix.de
 
    Website: www.wuerth-phoenix.de

 

Reply via email to