471,319 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Modal in C#

Is there an intrinsic method in C# that is equivelant to "Modal" in VB?

Dec 22 '05 #1
3 3791

JPSutor wrote:
Is there an intrinsic method in C# that is equivelant to "Modal" in VB?


It's called "ShowDialog" for Forms, I suspect that is what you are
looking
for.

Matt

Dec 22 '05 #2
Matt this is for a form launching Excel and wanting to have the main
form remain in front.

Dec 22 '05 #3

JPSutor wrote:
Matt this is for a form launching Excel and wanting to have the main
form remain in front.


Hm. Not sure what you are trying to accomplish here, but I suspect
if you set the Topmost property of your form that launches Excel, you
will get what you want.

matt

Dec 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Patrick Lim | last post: by
2 posts views Thread by martin de vroom | last post: by
1 post views Thread by amith | last post: by
2 posts views Thread by Gilles T. | last post: by
2 posts views Thread by cassidyc | last post: by
5 posts views Thread by CaptainZ | last post: by
10 posts views Thread by Guadala Harry | last post: by
2 posts views Thread by sthrudel | last post: by
2 posts views Thread by Mike | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.