TPUHELP.HLB  —  SET(MOUSE)
  SET(MOUSE)

  Determines whether DECTPU mouse support is enabled.

  Syntax

     SET (MOUSE, {ON | OFF})

  Parameters

     ON         Causes DECTPU to recognize mouse keys when pressed, and
                allows you to bind programs or procedures to mouse keys.
                Enables the LOCATE_MOUSE and POSITION (MOUSE) built-ins.

     OFF        Disables DECTPU mouse support.  Pressing a mouse key when
                the mouse is set to OFF has no effect.

  Comments

     The default mouse setting depends on the terminal you are using.  If
     the DECTPU statement GET_INFO (SCREEN, "dec_crt2") returns TRUE on your
     terminal, mouse support is turned on by default.  Otherwise, mouse
     support is turned off by default.

     Since DECTPU mouse support disables the UIS terminal emulator cut and
     paste feature, you must turn off DECTPU mouse support to use this cut
     and paste capability in DECTPU.

  Example

     The following statement turns off mouse support:

     SET (MOUSE, OFF)

  Related Topics

     DEFINE_KEY   LOCATE_MOUSE   POSITION
Close Help