Active form problem.  
Author Message
GaryR





PostPosted: Visual C# General, Active form problem. Top

Hi All,

Here's the problem: I have a main form which opens a smaller form. Which is fine, but I don't want the user to be able to click back to the main form without closing the smaller form first. Do I have to use MDI Forms or is there another method

Thanks in advance.



Visual C#12  
 
 
Sudeesh





PostPosted: Visual C# General, Active form problem. Top

Hi,
Have a look at ShowDialog function. This will solve ur problem.

Regards,
Sudeesh.


 
 
GaryR





PostPosted: Visual C# General, Active form problem. Top

LOL, how easy was that!!

Done in 10 seconds flat.

cheers Sudeesh