- WriteText
Writes the text into the text control at the current insertion position.
- Undo
If there is an undo facility and the last operation can be undone, undoes the last operation.
- SetValue
Sets the new text control value.
- SetSelection
Selects the text starting at the first position up to (but not including) the character at the last position.
- SetMaxLength
This function sets the maximum number of characters the user can enter into the control.
- SetMargins
Attempts to set the control margins.
- SetInsertionPointEnd
Sets the insertion point at the end of the text control.
- SetInsertionPoint
Sets the insertion point at the given position.
- SetHint
Sets a hint shown in an empty unfocused text control.
- SetEditable
Makes the text item editable or read-only, overriding the wxTE_READONLY flag.
- SelectAll
Selects all text in the control.
- Replace
Replaces the text starting at the first position up to (but not including) the character at the last position with the given text.
- Remove
Removes the text starting at the first given position up to (but not including) the character at the last position.
- Redo
If there is a redo facility and the last operation can be redone, redoes the last operation.
- Paste
Pastes text from the clipboard to the text item.
- IsEditable
Returns true if the controls contents may be edited by user (note that it always can be changed by the program).
- GetValue
Gets the contents of the control.
- GetStringSelection
Gets the text currently selected in the control.
- GetSelection
Gets the current selection span.
- GetRange
Returns the string containing the text starting in the positions from and up to to in the control.
- GetMargins
Returns the margins used by the control.
- GetLastPosition
Returns the zero based index of the last position in the text control, which is equal to the number of characters in the control.
- GetInsertionPoint
Returns the insertion point, or cursor, position.
- GetHint
Returns the current hint string.
- Copy
Copies the selected text to the clipboard.
- Clear
Clears the text in the control.
- ChangeValue
Sets the new text control value.
- CanUndo
Returns true if there is an undo facility available and the last operation can be undone.
- CanRedo
Returns true if there is a redo facility available and the last operation can be redone.
- CanPaste
Returns true if the contents of the clipboard can be pasted into the text control.
- CanCut
Returns true if the selection can be cut to the clipboard.
- CanCopy
Returns true if the selection can be copied to the clipboard.
- AutoCompleteFileNames
Call this function to enable auto-completion of the text typed in a single-line text control using all valid file system paths.
- AutoCompleteDirectories
Call this function to enable auto-completion of the text using the file system directories.
- AutoComplete
Enable auto-completion using the provided completer object.
- AppendText
Appends the text to the end of the text control.