Function to return or alter the current EDITFIELD setting
APPEND, CHANGE, CREATE SCREEN, DB_FOXPLUSBUGS, DB_FOXPROKEYS, DB_SAMBA, EDIT, FILETYPE(), FMT(), INDEXEXT(), MODIFY SCREEN, READEXIT(), READINSERT(), SET CLIPPER, SET CLIPPER5, SET COMPATIBLE, SET EDITFIELD, SET FILECASE, SET FILETYPE, SET FORMAT, SET INDEXEXT, SET MEMOEXT, SET PCEDIT, SET PCEXACT, SET PCFILTER, SET PCGRAPHICS, SET PCKEYS, SET PCLOCKING, SET PCPICTURE, SET PCSAYS, SET PCUNIQUE
The EDITFIELD() function returns .T. if EDITFIELD is ON and .F. if EDITFIELD is OFF. If EDITFIELD is ON, when the user partially overwrites a field the entire field value is saved when the [RETURN] key is pressed, not just the user's input. When EDITFIELD is OFF, the default, the contents of the field up to the current cursor position are saved.
The EDITFIELD setting can be altered using the SET EDITFIELD ON | OFF command, or by using the optional <expL> in the EDITFIELD() function. The <expL> logical expression will SET EDITFIELD ON if .T. and SET EDITFIELD OFF if .F..
lEditfield = editfield() set editfield on edit editfield(lEditfield)
Recital Terminal Developer