These constants specify the reason for a change of editing focus among text fields, in essence answering the question “why am I leaving the field?”
Available in Mac OS X v10.0 and later.
C# | Visual Basic | Visual C++ |
public enum NSMovementCode
Public Enumeration NSMovementCode
public enum class NSMovementCode
Member | Description |
---|---|
NSIllegalTextMovement | Currently unused. Available in Mac OS X v10.0 and later. |
NSReturnTextMovement | The Return key was pressed. Available in Mac OS X v10.0 and later. |
NSTabTextMovement | The Tab key was pressed. Available in Mac OS X v10.0 and later. |
NSBacktabTextMovement | The Backtab (Shift-Tab) key was pressed. Available in Mac OS X v10.0 and later. |
NSLeftTextMovement | The left arrow key was pressed. Available in Mac OS X v10.0 and later. |
NSRightTextMovement | The right arrow key was pressed. Available in Mac OS X v10.0 and later. |
NSUpTextMovement | The up arrow key was pressed. Available in Mac OS X v10.0 and later. |
NSDownTextMovement | The down arrow key was pressed. Available in Mac OS X v10.0 and later. |
NSCancelTextMovement | The user cancelled the completion. Available in Mac OS X v10.3 and later. |
NSOtherTextMovement | The user performed some undefined action. Available in Mac OS X v10.3 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)