Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible Threading situation
Message
From
12/03/2004 12:32:42
 
 
To
12/03/2004 11:49:42
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00885530
Message ID:
00885671
Views:
13
Kevin,

>I'll respond but I'm on my way out so if I don't respond until Monday - I'm not being unsociable :-)

And I won't be around all weekend either, as I usually am, so other than today, I may not respond again until Monday either. =)

> ... with a Modal form I have to wait until it is released - and that ain't no good.

I'm wondering if you've got a few misconceptions about Modal Forms. First, it's not released when it's closed. It's simply hidden, so it still exists. You have to set each button's .DialogResult property to a DialogResult enum (so your Next button might be btnNext.DialogResult = DialogResult.OK and your Cancel button might be btnCancel.DialogResult = DialogResult.Cancel). That's all that's needed to make the form behave properly when it's called with MyForm.ShowDialog().

Now, I know you said that you want the form to still be there when you're done with it, so maybe that's why you're opposed to a ModalForm, but since the form really still exists, you could simply display it again. As I said, it hasn't been closed, it's simply hiding.

I know I'm being stubborn about this (trying to get you to use .ShowDialog()) and maybe you have other reasons for not wanting to do it this way ... if so, I guess I'll have to put on my thinking cap. But, at this point, it still sounds to me like a ModalForm would be ok and you're just missing a few things about how it works. Am I wrong?

If anyone else wants to take a stab at this, please feel free to jump in any time. =)

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform