Form Aspect Ratio Control 1.10

By Grahame Marsh

Freeware 11 Feb 1997

In category

Components > Forms > Aspect Ratio


Component to control the aspect ratio of either a form or a form's client area. Works by adding a new WndProc and intecepting the (win 32) wm_Sizing message. This message is send repeatedly while a window is being resize by dragging a corner or side. The component calculates the "other" side from the one being dragged forcing a given aspect ratio to be maintained. Also intercepts the wm_GetMinMaxInfo message to ensure that the aspect ratio is maintained when the form is zoomed to full size.


  • Status: Fully functional
  • Source: FW
  • Size: 5 300kB


  • Delphi 2
  • Delphi 3