|
-
Jan 10th, 2009, 06:55 PM
#1
Hyperactive Member
Re: Disable Close Button and Prevent Form Being Moved
Hi JM
I am using both of your classes after loading a form (frmSixQs) from a child form (frmProfiles). All runs as expected, except when I click off the form (frmSixQs), it closes.
How do I make my form focused exclusively until the user closes it intentionally?
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
-
Jan 11th, 2009, 04:39 AM
#2
Re: Disable Close Button and Prevent Form Being Moved
 Originally Posted by Always_Confused
Hi JM
I am using both of your classes after loading a form (frmSixQs) from a child form (frmProfiles). All runs as expected, except when I click off the form (frmSixQs), it closes.
How do I make my form focused exclusively until the user closes it intentionally?
That doesn't sound like anything that would be caused by my code but I'll run some tests just to make sure.
-
Jan 12th, 2009, 09:30 PM
#3
Re: Disable Close Button and Prevent Form Being Moved
 Originally Posted by Always_Confused
Hi JM
I am using both of your classes after loading a form (frmSixQs) from a child form (frmProfiles). All runs as expected, except when I click off the form (frmSixQs), it closes.
How do I make my form focused exclusively until the user closes it intentionally?
I tested my classes with all combinations of Show and ShowDialog with 1, 2 and 3 forms and saw no such behaviour, so I can only assume that it's something to do with your own code. What happens if you remove my classes? Do you still see that behaviour?
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
|