advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ScaleHeight, ScaleWidth Properties Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 [form.][picturebox.]ScaleHeight
 [form.][picturebox.]ScaleWidth
 
 Usage Notes
   ■ ScaleHeight and ScaleWidth can be used to position controls on forms
     or text in a picture box.
 
   ■ When used together, ScaleHeight and ScaleWidth allow you to make
     calculations based on the client area (the inside area) of a form or
     picture box.
 
   ■ ScaleHeight and ScaleWidth values vary depending on the existence of a
     border (form, picture box) and menus (form). In general, the values
     returned are:
 
         ScaleHeight = Total Height - Borders (if any) - Menus (if any)
         Scale Width = Total Width - Borders (if any)
 
     See: ◄BorderStyle Property►  ◄Form►
          ◄Menu Control►          ◄Picture Box Control►