Difference between revisions of "SET PCEDIT"

From Recital Documentation Wiki
Jump to: navigation, search
(Description)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET PCEDIT=
 
 
 
==Class==
 
Xbase Compatibility
 
 
 
 
==Purpose==
 
==Purpose==
 
Add Xbase compatibility for cursor movement in forms.
 
Add Xbase compatibility for cursor movement in forms.
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
APPEND, CHANGE, CREATE SCREEN, EDIT, MODIFY SCREEN, EDITFIELD(), FILETYPE(), FMT(), INDEXEXT(), SET CLIPPER, SET CLIPPER5, SET COMPATIBLE, SET EDITFIELD, SET FILECASE, SET FILETYPE, SET FORMAT, SET INDEXEXT, SET MEMOEXT, SET PCEXACT, SET PCFILTER, SET PCGRAPHICS, SET PCKEYS, SET PCLOCKING, SET PCPICTURE, SET PCSAYS, SET PCUNIQUE, DB_FOXPLUSBUGS, DB_FOXPROKEYS, DB_SAMBA
+
[[APPEND]], [[CHANGE]], [[CREATE SCREEN]], [[DB_FOXPLUSBUGS]], [[DB_FOXPROKEYS]], [[DB_SAMBA]], [[EDIT]], [[EDITFIELD()]], [[FILETYPE()]], [[FMT()]], [[Function Keys]], [[INDEXEXT()]], [[MODIFY SCREEN]], [[SET CLIPPER]], [[SET CLIPPER5]], [[SET COMPATIBLE]], [[SET EDITFIELD]], [[SET FILECASE]], [[SET FILETYPE]], [[SET FORMAT]], [[SET INDEXEXT]], [[SET MEMOEXT]], [[SET PCEXACT]], [[SET PCFILTER]], [[SET PCGRAPHICS]], [[SET PCKEYS]], [[SET PCLOCKING]], [[SET PCPICTURE]], [[SET PCSAYS]], [[SET PCUNIQUE]]
  
  
 
==Description==
 
==Description==
 
The SET PCEDIT command manages cursor movement on forms.  By default PCEDIT is OFF, which uses native Recital cursor control within forms.  With PCEDIT ON the cursor control behaves like the PC Xbase languages.  Changes in behavior while editing forms with PCEDIT set ON include:
 
The SET PCEDIT command manages cursor movement on forms.  By default PCEDIT is OFF, which uses native Recital cursor control within forms.  With PCEDIT ON the cursor control behaves like the PC Xbase languages.  Changes in behavior while editing forms with PCEDIT set ON include:
 +
 
* Numeric fields line up on decimal point when the decimal is entered.
 
* Numeric fields line up on decimal point when the decimal is entered.
 
* Cursor LEFT at the start of a field moves to the last cursor position on the previous field.
 
* Cursor LEFT at the start of a field moves to the last cursor position on the previous field.
Line 25: Line 19:
 
* Control keys can be used at any point in the field to process the form.  This allows [EXIT/SAVE] or [ABANDON] to be entered while in the middle of a field in order to exit the form.
 
* Control keys can be used at any point in the field to process the form.  This allows [EXIT/SAVE] or [ABANDON] to be entered while in the middle of a field in order to exit the form.
 
* @...PROMPT menu processing now forces the selection to the top of the list when pressing [HOME] or to the end of the list when pressing [END] with PCEDIT ON.
 
* @...PROMPT menu processing now forces the selection to the top of the list when pressing [HOME] or to the end of the list when pressing [END] with PCEDIT ON.
 +
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set pcedit on
 
set pcedit on
 
use customer
 
use customer
 
set format to customer
 
set format to customer
edit</pre>
+
edit</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|PCEDIT]]

Latest revision as of 16:34, 23 November 2009

Purpose

Add Xbase compatibility for cursor movement in forms.


Syntax

SET PCEDIT ON | OFF | (<expL>)


See Also

APPEND, CHANGE, CREATE SCREEN, DB_FOXPLUSBUGS, DB_FOXPROKEYS, DB_SAMBA, EDIT, EDITFIELD(), FILETYPE(), FMT(), Function Keys, INDEXEXT(), MODIFY SCREEN, SET CLIPPER, SET CLIPPER5, SET COMPATIBLE, SET EDITFIELD, SET FILECASE, SET FILETYPE, SET FORMAT, SET INDEXEXT, SET MEMOEXT, SET PCEXACT, SET PCFILTER, SET PCGRAPHICS, SET PCKEYS, SET PCLOCKING, SET PCPICTURE, SET PCSAYS, SET PCUNIQUE


Description

The SET PCEDIT command manages cursor movement on forms. By default PCEDIT is OFF, which uses native Recital cursor control within forms. With PCEDIT ON the cursor control behaves like the PC Xbase languages. Changes in behavior while editing forms with PCEDIT set ON include:

  • Numeric fields line up on decimal point when the decimal is entered.
  • Cursor LEFT at the start of a field moves to the last cursor position on the previous field.
  • Cursor RIGHT at the start of a field moves into the field in OVERTYPE editing mode.
  • Control keys can be used at any point in the field to process the form. This allows [EXIT/SAVE] or [ABANDON] to be entered while in the middle of a field in order to exit the form.
  • @...PROMPT menu processing now forces the selection to the top of the list when pressing [HOME] or to the end of the list when pressing [END] with PCEDIT ON.


Example

set pcedit on
use customer
set format to customer
edit


Products

Recital