bwells Posted March 23, 2003 Posted March 23, 2003 I have a form. In the form is a label which is anchored to the top, left. If I resize the form, resulting in scrollbars appearing, the label x,y location change. What would cause this to happen? I want the label to stay in its location. Quote
Cywizz Posted March 24, 2003 Posted March 24, 2003 Isn't this the same problem you had here: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=70125&highlight=scrollbars Quote Howzit??
bwells Posted March 24, 2003 Author Posted March 24, 2003 No. My previous question was about how a form with scroll bars does an auto-scroll causing an embedded panel to jump position everytime the form receives focus. My question in this thread is about the location of a label which seems to change its x,y location when the containing form is resized so scroll bars appear. I thought the x, y location of a control in a form would remain where it was set, and should not change value when scroll bars appear. Perhaps they are related, but I think they are two different issues. Quote
*Gurus* divil Posted March 24, 2003 *Gurus* Posted March 24, 2003 I reckon they could well be related. It's the same code handling the scrolling, since Form derives from ScrollableControl too. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.