Difference between revisions of "SET MOUSE"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==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== | ||
− | [[APPEND]], [[CHANGE]], [[CREATE SCREEN]], [[EDIT]], [[QUERY]], [[READ]], [[SET NAVIGATE]] | + | [[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== | ||
− | < | + | <code lang="recital"> |
set mouse on | set mouse on | ||
set navigate on | set navigate on | ||
use demo | use demo | ||
− | edit</ | + | edit</code> |
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|MOUSE]] | [[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