SET PCEDIT

From Recital Documentation Wiki
Jump to: navigation, search

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