sethindeed Posted February 13, 2003 Posted February 13, 2003 When I set them at runtime, I never get the expected results ( too small often ) I remember in VB6, there was this property called scaleheight and width that is now gone... Me.Height = x Me.Width = y ...but it simply does not represent what I asked for :( Quote What I don't know keeps me excited...
*Gurus* divil Posted February 13, 2003 *Gurus* Posted February 13, 2003 You want the ClientSize property, if you need to set the size of the client area of the form: ClientSize = New Size(200, 200) You can also check this (ClientSize.Width etc) to get the size of the working area of the form, which can be useful sometimes. 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
sethindeed Posted February 13, 2003 Author Posted February 13, 2003 Once again, many thanx ;) Quote What I don't know keeps me excited...
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.