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

  Determines whether TPU mouse support is enabled.

  Syntax

     SET (MOUSE, {ON | OFF})

  Parameters

     ON         Causes TPU 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 TPU 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 TPU 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 TPU mouse support disables the UIS terminal emulator cut and
     paste feature, you must turn off TPU mouse support to use this cut
     and paste capability in TPU.

  Example

     The following statement turns off mouse support:

     SET (MOUSE, OFF)

  Related Topics

     DEFINE_KEY   LOCATE_MOUSE   POSITION
Close Help