Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.

DBFormatterViewEditing



Adopted By: no NeXTSTEP classes
Declared In: dbkit/DBEditableFormatter.h



Protocol Description

The method in this protocol provides a means by which a view containing a field that's being edited can receive a message from the object doing the editing.



Instance Methods

formatterDidEndEditing:endChar:
(BOOL)formatterDidEndEditing:sender endChar:(unsigned short)whyEnd

Invoked by an editor when the user completes editing of an editable field by pressing one of the keys that moves to another field (Return, Tab, or Shift-Tab).  The field that was being edited is redrawn, and the cursor is moved to the next field, depending on which character was whyEnd: NX_RETURN, NX_TAB, or NX_BACKTAB.  Returns YES, unless invoked while no field was being edited.