How do you get the height of a form "excluding" the control bar?
How do you get the height of a form "excluding" the control bar?
Help please.
Re: How do you get the height of a form "excluding" the control bar?
The ScaleHeight and ScaleWidth properties indicate the dimensions (in ScaleMode units) for the "client" area of the form.
Re: How do you get the height of a form "excluding" the control bar?
Quote:
Originally Posted by brucevde
The ScaleHeight and ScaleWidth properties indicate the dimensions (in ScaleMode units) for the "client" area of the form.
Thank you, but i made a mistake in my original question*
How do you set* the height of a form excluding the control bar
cheers
Re: How do you get the height of a form "excluding" the control bar?
Quote:
Originally Posted by Drazzakia
Thank you, but i made a mistake in my original question*
How do you set* the height of a form excluding the control bar
cheers
worked it out myself:
temp = form.height - form.scaleheight
form.height = somevalue + temp