HeaderPane
Main
Hide
Share Link
Print

Keyboard Interface

Field

KeyAction
CharactersTyped into the mask at the caret, also when they match the mnemonic of a button on the form; characters that do not fit are rejected (see Input Modes).
Left, RightMove the caret by one position; with Ctrl, back to the end of the previous field or on to the next field (without a mask, to the previous or next word). With Shift, extend the selection.
Home, EndMove the caret to the first input position or behind the last one; with Ctrl, to the very start or end of the contents. With Shift, extend the selection.
Up, DownSpin the numeric field containing the caret when its mask uses the ^ subtoken (SftMask.SpinArrowKeys property); otherwise open the autocomplete list; otherwise, and with Shift or Ctrl, Up acts as Left and Down as Right.
Tab, Shift+TabMove to the next or previous field of the mask when the SftMask.TabAdvance property is set, otherwise to the next or previous control (see Tabbing Within the Control).
InsertSwitch between insert and overtype mode, unless the SftMask.InputMode property is InputModeEnum.InsertOnly.
Backspace, DeleteDelete the selection, or the character before or after the caret. Deleting a selection removes its input characters; the literals in it stay, and the characters after it move up.
+, -, *, /Open the popup calculator in a numeric field with a calculator (see Popup Calculator).
Alt+DownClick the ellipse button when the field shows one (see Ellipse Button).
F4Open and close the autocomplete list (SftMask.AllowF4 property).
Ctrl+ASelect all of the contents.
Ctrl+C, Ctrl+InsertCopy the selection.
Ctrl+X, Shift+DeleteCut the selection. Without a selection, Shift+Delete deletes like Delete.
Ctrl+V, Shift+InsertPaste.
Ctrl+Z, Ctrl+UUndo the most recent change.
Shift+F10, Menu keyShow the edit context menu.

Ctrl+A, the clipboard and undo keys and the context menu are available while the SftMask.ShortcutsEnabled property is set (the default).

Enter and Esc are left to the form (its AcceptButton and CancelButton) while neither the calculator nor the autocomplete list is open. The control's KeyDown and KeyPress events occur before the control processes a key; setting KeyEventArgs.Handled or KeyPressEventArgs.Handled stops its processing.

Popup Calculator

KeyAction
Digits, decimal separatorEnter the next number.
+, -, *, /Apply the operator.
=Show the total.
Enter, Tab, F4Enter the total into the field and close the calculator. F4 depends on the SftMask.AllowF4 property.
EscClose the calculator without changing the field.
CClear the entry line.
Up, Down, Page Up, Page DownScroll the tape, as the mouse wheel does.
Left, Right, Home, End, Backspace, Delete, InsertEdit the entry line.

AutoComplete List

KeyAction
Up, Down, Page Up, Page DownMove through the entries; the selected entry is shown in the field.
EnterSelect the entry and close the list.
Esc, F4Close the list. F4 depends on the SftMask.AllowF4 property.

The other keys edit the field while the list is open, and the mouse wheel scrolls the list.