TX Text Control Blog

TX Text Control Shortcuts in Detail

Blogged by Björn Meyer on July 21, 2010 and tagged with sample.

TX Text Control implements some keyboard shortcuts by default. For example: Pressing CTRL + ENTER inserts a page break at the current input position. The following table lists these shortcuts and shows how to add these functions programmatically.

ShortcutDescriptionSame functionality using the API
CTRL + ENTERForced page breakSelection.Text = "\f";
SHIFT + ENTERSoft breakSelection.Text = "\v";
ENTERNew ParagraphSelection.Text = "\r\n";
SHIFT + CTRL + RETURNColumn breakSelection.Text = ((char)14).ToString();
CTRL + XCutCut();
CTRL + VPastePaste();
CTRL + ZUndoUndo();
CTRL + YRedoRedo();
CTRL + IInsert TabSelection.Text = "\t";