Movement Key |
Action |
|
Move one character to the right. If an absolutely positioned element is selected, nudge the element one pixel to the right. |
|
Move one character to the left. If an absolutely positioned element is selected, nudge the element one pixel to the left. |
|
Move down one line. If an absolutely positioned element is selected, nudge the element down one pixel. |
|
Move up one line. If an absolutely positioned element is selected, nudge the element up one pixel. |
Ctrl+ |
Move right one word. |
Ctrl+ |
Move left one word. |
End |
Move to the end of the current line. |
Home |
Move to the start of the current line. |
Ctrl+ |
Move down one paragraph. |
Ctrl+ |
Move up one paragraph. |
Page Down |
Move down one page. |
Page Up |
Move up one page. |
Ctrl+Home |
Move to the beginning of the document. |
Ctrl+End |
Move to the end of the document. |
Tab |
Cycle selection through block-level elements within the control. |
Shift+Tab |
Reverse-cycle selection through block-level elements within the control. |
Ctrl+Tab |
Move from the control to the next element in the host application.* |
Shift+Ctrl+Tab |
Move from the control to the previous element in the host application* |
* These keystrokes do not work in host applications that support MDI windows. In those applications, the host application will use these keystrokes to move between MDI child windows. |
|
Selection Key |
Action |
Shift+ |
Extend the selection one character to the right. |
Shift+ |
Extend the selection one character to the left. |
Ctrl+Shift+ |
Extend the selection right one word. |
Ctrl+Shift+ |
Extend the selection left one word. |
Shift+ |
Extend the selection up one line. |
Shift+ |
Extend the selection down one line. |
Shift+End |
Extend the selection to the end of the current line. |
Shift+Home |
Extend the selection to the start of the current line. |
Shift+Page Down |
Extend the selection down one page. |
Shift+Page Up |
Extend the selection up one page. |
Ctrl+Shift+End |
Extend the selection to the end of the document. |
Ctrl+Shift+Home |
Extend the selection to the beginning of the document. |
Ctrl+A |
Select all elements in the document (IDM_TRIED_SELECTALL, DECMD_SELECTALL). |
Editing Key |
Action |
Backspace |
Delete the selection or, if there is no selection, the character to the left of the insertion point. |
Ctrl+Backspace |
Delete all of a word to the left of the insertion pointer, not including the space before. |
Ctrl+C |
Copy the selection to the clipboard (IDM_TRIED_COPY, DECMD_COPY). |
Ctrl+V |
Paste the contents of the clipboard to the current location (IDM_TRIED_PASTE, DECMD_PASTE). |
Ctrl+X |
Cut the selection to the clipboard (IDM_TRIED_CUT, DECMD_CUT). |
Delete |
Delete the selection without placing it on the clipboard (IDM_TRIED_DELETE, DECMD_DELETE). |
Insert |
Toggle between inserting and overwriting text. |
Ctrl+Z |
Undo the most recent formatting commands (IDM_TRIED_UNDO, DECMD_UNDO). |
Ctrl+Y |
Redo the most recently undone commands (IDM_TRIED_REDO, DECMD_REDO). |
Ctrl+F |
Find text (IDM_TRIED_FIND, DECMD_FINDTEXT). |
Shift+F10 |
Display the context menu, if any (equivalent to right-clicking the document). |
Ctrl+L in the ActiveX control, or Ctrl+K in the document object. |
Display the Hyperlink dialog box (IDM_TRIED_HYPERLINK, DECMD_HYPERLINK) if the insertion point is within an <A> element. |
Ctrl+K in the ActiveX control. (No keyboard accelerator for this function exists in the document object.) |
Toggle absolute positioning for the selected element (IDM_TRIED_MAKE_ABSOLUTE, DECMD_MAKE_ABSOLUTE). |
Formatting Key |
Action |
Ctrl+B |
Toggle bold formatting (IDM_TRIED_BOLD, DECMD_BOLD). |
Ctrl+I |
Toggle italic formatting (IDM_TRIED_ITALIC, DECMD_ITALIC). |
Ctrl+U |
Toggle underlining (IDM_TRIED_UNDERLINE, DECMD_UNDERLINE). |
Ctrl+T In the ActiveX control. (No keyboard accelerator for this function exists in the document object.) |
Increase paragraph indent (IDM_TRIED_INDENT, DECMD_INDENT). |
Ctrl+Shift+T in the ActiveX control. (No keyboard accelerator for this function exists in the document object.) |
Decrease paragraph indent (IDM_TRIED_OUTDENT, DECMD_OUTDENT). |
Figure 10 Editing Commands
General Editing Commands |
DECMD_COPY, DECMD_CUT, DECMD_DELETE, DECMD_FINDTEXT, DECMD_PASTE, DECMD_PROPERTIES, DECMD_REDO, DECMD_SELECTALL, DECMD_UNDO |
Formatting Commands |
DECMD_BOLD, DECMD_FONT, DECMD_GETBACKCOLOR, DECMD_GETBLOCKFMT, DECMD_GETBLOCKFMTNAMES, DECMD_GETFONTNAME, DECMD_GETFONTSIZE, DECMD_GETFORECOLOR, DECMD_INDENT, DECMD_ITALIC, DECMD_JUSTIFYCENTER, DECMD_JUSTIFYLEFT, DECMD_JUSTIFYRIGHT, DECMD_ORDERLIST, DECMD_OUTDENT, DECMD_REMOVEFORMAT, DECMD_SETBACKCOLOR, DECMD_SETBLOCKFMT, DECMD_SETFONTNAME, DECMD_SETFONTSIZE, DECMD_SETFORECOLOR, DECMD_UNDERLINE, DECMD_UNORDERLIST |
Hyperlink/Image Commands |
DECMD_HYPERLINK, DECMD_IMAGE, DECMD_UNLIN |
Table Commands |
DECMD_DELETECELLS, DECMD_DELETECOLS, DECMD_DELETEROWS, DECMD_INSERTCELL, DECMD_INSERTCOL, DECMD_INSERTROW, DECMD_INSERTTABLE, DECMD_MERGECELLS, DECMD_SPLITCELL |
Absolute Positioning Commands |
DECMD_BRING_ABOVE_TEXT, DECMD_BRING_FORWARD, DECMD_BRING_TO_FRONT, DECMD_LOCK_ELEMENT, DECMD_MAKE_ABSOLUTE, DECMD_SEND_BACKWARD, DECMD_SEND_BELOW_TEXT, DECMD_SEND_TO_BACK |