IWPTextCursor Interface |
[Top] [Chapter] [Previous] [Next] |
Text creation and cursor positioning Description The TextCursor interface is used to create text under program control (Input functions) and to position the cursor and select text.
Note: To add tabstops in the selected text please use Memo.TextCommand(21, ...)
Use Memo.TextCursor to get a reference to this powerful and important interface.
To move the cursor to the start of the paragraph referenced by CurrPar use Memo.TextCommand(29)
Tip: To read the character at the current position use Memo.CurrPar.GetChar(Memo.TextCursor.CPPosInPar)
Please note, the text box and foot note support has to be activated using SetEditorMode!
|