[VW 7.1] Simple Dialog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[VW 7.1] Simple Dialog

mani kartha
Hi all,
My Application needs to raise different dialog windows for confirmation, request or as warning.The application is a sub canvas based singe main window  type  application and all specs are opened inside the main window. 
When one of such Simple Dialog is open and un-attended and user navigates to other applications and comes back, the Dialog is no longer visible but the application blocks user from doing any other operation  as the Dialog is still alive.

Is there some general way by which a Simple Dialog if alive, will always be on top (taking user event focus) whenever the VW spec is refreshed or is the active window in the system?


thanks in advance,

Mani

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [VW 7.1] Simple Dialog

Randy Coulman
Mani,

I think you might be missing the parent window for your SimpleDialog.  See SimpleDialog class>>initializedFor: for more information.

You might also be interested in the class-side API of the Dialog class.  It has things like #confirm:for:, #warn:for:, and #request:initialAnswer:for:

Randy


On Tue, Sep 3, 2013 at 7:11 PM, mani kartha <[hidden email]> wrote:
Hi all,
My Application needs to raise different dialog windows for confirmation, request or as warning.The application is a sub canvas based singe main window  type  application and all specs are opened inside the main window. 
When one of such Simple Dialog is open and un-attended and user navigates to other applications and comes back, the Dialog is no longer visible but the application blocks user from doing any other operation  as the Dialog is still alive.

Is there some general way by which a Simple Dialog if alive, will always be on top (taking user event focus) whenever the VW spec is refreshed or is the active window in the system?


thanks in advance,

Mani

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc




--
Randy Coulman
Email: [hidden email]
Home: http://randycoulman.com
Twitter: @randycoulman      GitHub: randycoulman

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc