SET MOUSE

From Recital Documentation Wiki
Revision as of 16:29, 23 November 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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