Difference between revisions of "SET MOUSE"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET MOUSE=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Enable or disable free cursor movement on forms.
 
Enable or disable free cursor movement on forms.
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
SET NAVIGATE, APPEND, CHANGE, CREATE SCREEN, EDIT, QUERY, READ
+
[[APPEND]], [[CHANGE]], [[CREATE SCREEN]], [[EDIT]], [[ISMOUSE()]], [[MCOL()]], [[MROW()]], [[QUERY]], [[READ]], [[SET NAVIGATE]]
  
  
 
==Description==
 
==Description==
 
When SET MOUSE is ON the cursor may be moved to any screen position on a form by using the cursor keys.
 
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.
 
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.
  
Line 26: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set mouse on
 
set mouse on
 
set navigate on
 
set navigate on
 
use demo
 
use demo
edit</pre>
+
edit</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|MOUSE]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Set Commands]]

Latest revision as of 16:29, 23 November 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