Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Height And Width

Status
Not open for further replies.

Hackster

Programmer
Mar 28, 2001
173
US
What is the difference in Scaleheight and Height? (And why does the difference always seem to be 60 pixels?)
 
Hackster,

Basically - The Height represents the outer size of the control or object, the ScaleHeight represents the inner (usable) size of the control or object. So the difference represents the height of the top border plus the height of the bottom border.

The difference between the two values depends on the object and it is not always 60 pixels.

regards Hugh
 
Ok. So, the Height of a text box would be its size as it sits, or is drawn, on a form. The ScaleHeight of the text box would be the amount of space within the textbox to put text. Is that correct?
 
text box controls do not have th scaleheight or scalewidth property. Only the Form as that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top