Difference between revisions of "SET MOUSE"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Yvonnemilne  (Talk | contribs)  | ||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| ==Class== | ==Class== | ||
| Screen Forms | Screen Forms | ||
| Line 20: | Line 17: | ||
| ==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 24: | ||
| ==Example== | ==Example== | ||
| − | < | + | <code lang="recital"> | 
| set mouse on | set mouse on | ||
| set navigate on | set navigate on | ||
| use demo | use demo | ||
| − | edit</ | + | edit</code> | 
Revision as of 16:09, 16 April 2009
Class
Screen Forms
Purpose
Enable or disable free cursor movement on forms.
Syntax
SET MOUSE ON | OFF | (<expL>)
See Also
APPEND, CHANGE, CREATE SCREEN, EDIT, 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
