Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dinamic Modal ?? is it possible with SWT ??

 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hu all !!
I've builded a GUI with a warning window that opens before closing without saving ( and other such wdialog windows) , trouble is that I can close the main shell and the dialog window still remains....
I can add a class that will call all the closing methods of all dialog buttons if main shell is closed, but I would prefer to "freez" the main window instead
how can I do this?
Thanks ranchers !!
 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry guy (galls)
Stupid questio...
I just take a refference to the main windows Shell and when opening another dialog window, I set the main shell to enabled ( shell.setEnable(false) )
!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!