Resizing window changes User control's top left position
-
There is a bug in my application that on resizing Form it changes top,left position of user control on it. I have gone through all code and nowhere in my application i have written code to do this. Is there any 'property' that does this? Any help would be good. Thanks, AksharRoop
-
There is a bug in my application that on resizing Form it changes top,left position of user control on it. I have gone through all code and nowhere in my application i have written code to do this. Is there any 'property' that does this? Any help would be good. Thanks, AksharRoop
Check the Anchor property of that user control.. It should be set to top left alone to get it corrected as you wish :)
Shyam.. My Blog dotnetscoups.blogspot.com
-
There is a bug in my application that on resizing Form it changes top,left position of user control on it. I have gone through all code and nowhere in my application i have written code to do this. Is there any 'property' that does this? Any help would be good. Thanks, AksharRoop
Check the control's anchor property. You probably set it incorrectly.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Check the Anchor property of that user control.. It should be set to top left alone to get it corrected as you wish :)
Shyam.. My Blog dotnetscoups.blogspot.com
It worked. Thanks a lot, AksharRoop