2 Replies Last post: Jan 18, 2010 7:07 PM by Dan Cioca  
Dan Cioca IDEA Plugin Contest Winner 211 posts since
Feb 24, 2006
Currently Being Moderated

Jan 14, 2010 1:33 AM

[HOW TO] Make a non-modal DialogWrapper to stay on top?

How can i make a DialogWrapper to stay on top but still be non modal? I see this is possible by looking at the "Find / Replace in Path" dialogs. You can click away from the dialog in the main window for copying stuff for example, but the dialog always stays on top.

Dmitry Jemerov JetBrains 11,708 posts since
Aug 19, 2002
Currently Being Moderated
Jan 14, 2010 12:32 PM in response to: Dan Cioca
Re: [HOW TO] Make a non-modal DialogWrapper to stay on top?

Hello Dan,

 

How can i make a DialogWrapper to stay on top but still be non modal?

I see this is possible by looking at the "Find / Replace in Path" and

dialogs. You can click away from the dialog in the main window for

copying stuff for example, but the dialog always stays on top.

 

Have you tried DialogWrapper.setModal(false)?

 

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

More Like This

  • Retrieving data ...