Difference between revisions of "SET PCEDIT"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==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, | + | [[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== | ||
− | < | + | <code lang="recital"> |
set pcedit on | set pcedit on | ||
use customer | use customer | ||
set format to customer | set format to customer | ||
− | edit</ | + | edit</code> |
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category:Set_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