SET PCEDIT

From Recital Documentation Wiki
Revision as of 14:08, 10 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SET PCEDIT

Class

Xbase Compatibility


Purpose

Add Xbase compatibility for cursor movement in forms.


Syntax

SET PCEDIT ON | OFF | (<expL>)


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


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:

  1. Numeric fields line up on decimal point when the decimal is entered.
  2. Cursor LEFT at the start of a field moves to the last cursor position on the previous field.
  3. Cursor RIGHT at the start of a field moves into the field in OVERTYPE editing mode.
  4. 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.
  5. @...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 Terminal Developer