Perfect! Thank you very much.

On Apr 6, 2006, at 3:39 PM, Joseph J. Strout wrote:

At 2:03 PM -0700 4/6/06, Charles Ross wrote:

But, two things complicate that. First, the user can cancel the login, so the dialog can disappear with either a successful or unsuccessful login. Second, the login can be called from multiple areas of the software, and the additional code should only happen in one.

I'm tuning in late here, but it sounds to me that you simply want to call ShowModal rather than Show. That's what ShowModal is for -- it blocks continuation of the calling code until the dialog shown has been closed or hidden.

I want what a MessageDialog does. When I call MessageDialog.ShowModal, the user can't do anything and the program doesn't do anything until a selection is made and a button is returned.

Right-o. ShowModal does that for any window (but it really only makes sense if you set the window frame type to Modal, MovableModal, or Sheet).

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to