|
-
Nov 28th, 2003, 08:51 PM
#1
Thread Starter
Addicted Member
topmost form question
I have another form in my program and I want it to stay the topmost form until it is closed simple right just set topmost = true;
well my problem is that users can still click outside that window and access the menus an things on the other forms. How do I lock it so that the user cannot access any other forms in my project until this one is closed ( besides hiding them of coarse )
-
Nov 29th, 2003, 08:09 AM
#2
enabled = false
or something like that.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 29th, 2003, 12:13 PM
#3
Thread Starter
Addicted Member
The only problem I have with just disabling the form is that it turns all my forms colors. Is there a way to keep it from changing the color off all the controls on the form?
-
Dec 1st, 2003, 06:18 AM
#4
Sleep mode
Try this on your second form , it will override the first one and prevents the user from accessing or using other forms .
Code:
SecondForm.ShowDialog();
-
Dec 1st, 2003, 10:45 AM
#5
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|