|
-
Aug 10th, 2005, 03:26 PM
#1
Thread Starter
Lively Member
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.
Drazzakia... Knowlage is fresh with new data, mine is mastered with the old data. (i'm not talking about vb knowlage  )
-
Aug 10th, 2005, 03:48 PM
#2
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.
-
Aug 10th, 2005, 04:38 PM
#3
Thread Starter
Lively Member
Re: How do you get the height of a form "excluding" the control bar?
 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
Drazzakia... Knowlage is fresh with new data, mine is mastered with the old data. (i'm not talking about vb knowlage  )
-
Aug 10th, 2005, 04:48 PM
#4
Thread Starter
Lively Member
Re: How do you get the height of a form "excluding" the control bar?
 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
Drazzakia... Knowlage is fresh with new data, mine is mastered with the old data. (i'm not talking about vb knowlage  )
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
|