qck.hlp (Table of Contents; 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.
Height, Width Properties
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Sets or returns the dimensions of an object:
 
    Object    Returns
    ═══════   ══════════════════════════════════════════════════════════════
    Control   External height and width; combo box and drive list box values
              are read-only at design time
    Form      External height and width, including border and title bar
    SCREEN    Height and width of the screen (in characters); not available
              at design time and read-only at run time
 
 Use WIDTH statement for non-form functionality. See: ◄WIDTH Statement►
 
    {[form.][ctlname.] | SCREEN.}Height[ = height%]
    {[form.][ctlname.] | SCREEN.}Width[ = width%]
 
    ■ height%  Valid settings are:
 
      Object       Range               Description
      ═══════      ═════════════       ═════════════════════════════════════
      Form         MinHeight to        MinHeight = 4 + Menubar (1-on, 0-off)
                   ScreenHeight        ScreenHeight = 25, 43, or 50
      Control      1 to 254            Absolute maximum is 254 characters
      SCREEN       25, 43, or 50       Dependent on display characteristics
                                       of current screen mode
 
    ■ width%   Valid settings are:
 
      Object       Range               Description
      ═══════      ═════════════       ═════════════════════════════════════
      Form         MinWidth to         MinWidth = MinButton (3-on, 0-off)
                   ScreenWidth                  + MaxButton (3-on, 0-off)
                                                + ControlBox (3-on, 0-off)
                                       ScreenWidth = 80
      Control      1 to 254            Absolute maximum is 254 characters
      SCREEN       80                  Dependent on display characteristics
 
 Applies To
    ◄Check Box Control►                ◄Combo Box Control►
    ◄Command Button Control►           ◄Directory List Box Control►
    ◄Drive List Box Control►           ◄File List Box Control►
    ◄Form►                             ◄Frame Control►
    ◄Horizontal Scroll Bar Control►    ◄Label Control►
    ◄List Box Control►                 ◄Option Button Control►
    ◄Picture Box Control►              ◄SCREEN Object►
    ◄Text Box Control►                 ◄Vertical Scroll Bar Control►
 
 See Also
    ◄WIDTH Statement►