TPUHELP.HLB  —  SET(PAD)
  SET(PAD)

  Determines whether DECTPU pads the end of lines with blanks instead of
  ending a line at the end of record.  Thus, when video attributes are
  applied to a padded window, it has an even or "boxed" appearence on the
  right side.  This only affects the display; it does NOT change the text.

  Disabling padding improves performance.  You enable padding for special
  visual effects.

  Syntax

     SET (PAD, window {OFF | ON}

  Parameters

     window     The window in which you want to set padding on or off.

     OFF        Specifies that lines on the screen stop at the last
                character of a record.  When video attributes are applied to
                the window, it has an uneven or ragged appearance at the
                right side.  This is the default setting.

     ON         Specifies that DECTPU pads the end of a line by adding
                blanks after the last character of a record, until the right
                edge of the window.  If there are not enough lines in the
                buffer to fill an entire window, DECTPU adds blank lines
                from the end-of-buffer line to the end of the window.

  Example

  The following statements turn padding on and display the window in reverse
  video; the padding gives the window an even, or boxed, right side:

     SET (PAD, second_window, ON);
     SET (VIDEO, second_window, REVERSE);

  Related topics

     SET(PAD_OVERSTRUCK_TABS)   SET(VIDEO)
Close Help