Difference between revisions of "SET MOUSE"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Screen Forms
 
  
  

Revision as of 15:38, 26 October 2009


Purpose

Enable or disable free cursor movement on forms.


Syntax

SET MOUSE ON | OFF | (<expL>)


See Also

APPEND, CHANGE, CREATE SCREEN, EDIT, ISMOUSE(), MCOL(), MROW(), QUERY, READ, SET NAVIGATE


Description

When SET MOUSE is ON the cursor may be moved to any screen position on a form by using the cursor keys.

If SET MOUSE is ON and SET NAVIGATE is ON, pressing the [RETURN] key moves the cursor to the nearest field or menu item. When SET MOUSE is OFF the cursor is restricted to movement in the defined @...GET statements of the current screen format. By default SET MOUSE is OFF.

This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned MOUSE is set ON. If a value of .F. is returned MOUSE is set OFF.


Example

set mouse on
set navigate on
use demo
edit


Products

Recital Terminal Developer