Component: TextView 
--------------------

Functions for an independent text field.

Our plugin can place an independent text view on the layout to show or edit text. Offers OS provided spell checking and RTF support.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [9.2](newinversion92.md "First functions introduced with version 9.2.") / [10.5](newinversion105.md "Newest functions in version 10.5.") | ✅ Yes | ✅ 81% | ❌ No | ❌ No | ✅ 95% |

  
| Item | Details |
|:--|:--|
| [TextView.AppendStyledText](TextViewAppendStyledText.md)   Appends the styled text. | Mac/iOS   10.4 |
| [TextView.CanUndo](TextViewCanUndo.md)   Whether undo is possible currently. | Mac/Win/iOS   9.2 |
| [TextView.Copy](TextViewCopy.md)   Performs copy operation. | Mac/Win/iOS   9.2 |
| [TextView.CreateWithControl](TextViewCreateWithControl.md)   Creates a new text view on the given window covering the area of the given control. | Mac/Win/iOS   9.2 |
| [TextView.CreateWithSize](TextViewCreateWithSize.md)   Creates a new text view inside the window with the given rectangle. | Mac/Win/iOS   9.2 |
| [TextView.Cut](TextViewCut.md)   Performs cut operation. | Mac/Win/iOS   9.2 |
| [TextView.GetAutoCorrectionEnabled](TextViewGetAutoCorrectionEnabled.md)   Queries auto correction setting. | Mac/Win/iOS   9.2 |
| [TextView.GetAutoResizingMask](TextViewGetAutoResizingMask.md)   Queries auto resizing mask. | Mac/iOS   9.2 |
| [TextView.GetHTMLText](TextViewGetHTMLText.md)   Queries HTML text. | Mac/iOS   9.2 |
| [TextView.GetHeight](TextViewGetHeight.md)   Queries current height of text view. | Mac/Win/iOS   9.2 |
| [TextView.GetLeft](TextViewGetLeft.md)   Queries current position of the text view. | Mac/Win/iOS   9.2 |
| [TextView.GetPlainText](TextViewGetPlainText.md)   Queries plain text. | Mac/Win/iOS   9.2 |
| [TextView.GetRTF](TextViewGetRTF.md)   Queries RTF text. | Mac/Win/iOS   9.2 |
| [TextView.GetReadOnly](TextViewGetReadOnly.md)   Queries read only flag. | Mac/Win/iOS   9.2 |
| [TextView.GetRulerVisible](TextViewGetRulerVisible.md)   Queries ruler visibility. | Mac only   9.2 |
| [TextView.GetSelectedHTMLText](TextViewGetSelectedHTMLText.md)   Queries HTML text. | Mac/iOS   10.5 |
| [TextView.GetSelectedPlainText](TextViewGetSelectedPlainText.md)   Queries plain text. | Mac/Win/iOS   10.5 |
| [TextView.GetSelectedRTF](TextViewGetSelectedRTF.md)   Queries RTF text. | Mac/iOS   10.5 |
| [TextView.GetSelectedStyledText](TextViewGetSelectedStyledText.md)   Queries styled text. | Mac/Win/iOS   10.5 |
| [TextView.GetSelectionLength](TextViewGetSelectionLength.md)   Queries length of selection. | Mac/Win/iOS   10.5 |
| [TextView.GetSelectionStart](TextViewGetSelectionStart.md)   Queries start of selection. | Mac/Win/iOS   10.5 |
| [TextView.GetSpellCheckingEnabled](TextViewGetSpellCheckingEnabled.md)   Queries spell checking setting. | Mac/Win/iOS   9.2 |
| [TextView.GetStyled](TextViewGetStyled.md)   Queries styled flag. | Mac/Win/iOS   9.2 |
| [TextView.GetStyledText](TextViewGetStyledText.md)   Queries styled text. | Mac/Win/iOS   10.4 |
| [TextView.GetTag](TextViewGetTag.md)   Queries the tag string for this text view. | Mac/Win/iOS   9.2 |
| [TextView.GetTop](TextViewGetTop.md)   Queries current position of the text view. | Mac/Win/iOS   9.2 |
| [TextView.GetVisible](TextViewGetVisible.md)   Queries current visibility state. | Mac/Win/iOS   9.2 |
| [TextView.GetWidth](TextViewGetWidth.md)   Queries current width of the text view. | Mac/Win/iOS   9.2 |
| [TextView.GetWindowRef](TextViewGetWindowRef.md)   Queries the window where this text view is located. | Mac/Win/iOS   9.2 |
| [TextView.List](TextViewList.md)   Queries list of all currently active text views. | Mac/Win/iOS   9.2 |
| [TextView.Paste](TextViewPaste.md)   Performs paste operation. | Mac/Win/iOS   9.2 |
| [TextView.Release](TextViewRelease.md)   Releases the text view and reclaims memory. | Mac/Win/iOS   9.2 |
| [TextView.ReleaseAll](TextViewReleaseAll.md)   A convenience method to release all text views. | Mac/Win/iOS   9.2 |
| [TextView.SetAutoCorrectionEnabled](TextViewSetAutoCorrectionEnabled.md)   Sets auto correction setting. | Mac/Win/iOS   9.2 |
| [TextView.SetAutoResizingMask](TextViewSetAutoResizingMask.md)   Sets the auto resizing mask. | Mac/iOS   9.2 |
| [TextView.SetFocus](TextViewSetFocus.md)   Sets focus to the text view. | Mac/Win/iOS   9.2 |
| [TextView.SetFrame](TextViewSetFrame.md)   Sets a new frame for the text view. | Mac/Win/iOS   9.2 |
| [TextView.SetFrameWithControl](TextViewSetFrameWithControl.md)   Repositions text view to given control. | Mac/Win/iOS   9.2 |
| [TextView.SetHTMLText](TextViewSetHTMLText.md)   Sets text with HTML. | Mac/iOS   9.2 |
| [TextView.SetPlainText](TextViewSetPlainText.md)   Sets the plain text. | Mac/Win/iOS   9.2 |
| [TextView.SetRTF](TextViewSetRTF.md)   Sets text with RTF. | Mac/Win/iOS   9.2 |
| [TextView.SetReadOnly](TextViewSetReadOnly.md)   Sets read only flag. | Mac/Win/iOS   9.2 |
| [TextView.SetRulerVisible](TextViewSetRulerVisible.md)   Sets whether ruler is visible. | Mac only   9.2 |
| [TextView.SetSelectedHTMLText](TextViewSetSelectedHTMLText.md)   Sets text with HTML. | Mac/iOS   10.5 |
| [TextView.SetSelectedPlainText](TextViewSetSelectedPlainText.md)   Sets the plain text. | Mac/Win/iOS   10.5 |
| [TextView.SetSelectedRTF](TextViewSetSelectedRTF.md)   Sets text with RTF. | Mac/iOS   10.5 |
| [TextView.SetSelectedStyledText](TextViewSetSelectedStyledText.md)   Sets the styled text. | Mac/Win/iOS   10.5 |
| [TextView.SetSelection](TextViewSetSelection.md)   Sets selection. | Mac/Win/iOS   10.5 |
| [TextView.SetSelectionLength](TextViewSetSelectionLength.md)   Sets selection length. | Mac/Win/iOS   10.5 |
| [TextView.SetSelectionStart](TextViewSetSelectionStart.md)   Sets selection start. | Mac/Win/iOS   10.5 |
| [TextView.SetSpellCheckingEnabled](TextViewSetSpellCheckingEnabled.md)   Sets the spell checking setting. | Mac/Win/iOS   9.2 |
| [TextView.SetStyled](TextViewSetStyled.md)   Sets styled flag. | Mac/Win/iOS   9.2 |
| [TextView.SetStyledText](TextViewSetStyledText.md)   Sets the styled text. | Mac/Win/iOS   10.4 |
| [TextView.SetTag](TextViewSetTag.md)   Sets the tag string for this text view. | Mac/Win/iOS   9.2 |
| [TextView.SetVisible](TextViewSetVisible.md)   Hides or shows the text view. | Mac/Win/iOS   9.2 |
| [TextView.ShowFontPanel](TextViewShowFontPanel.md)   Shows font panel. | Mac/Win   9.2 |
| [TextView.Undo](TextViewUndo.md)   Performs undo operation. | Mac/Win/iOS   9.2 |

57 functions shown.

These functions require a license (91%).

### Release notes

- **Version 11.3**
    - Implemented [TextView.GetSelectedStyledText](https://www.mbsplugins.eu/TextViewGetSelectedStyledText.shtml), [TextView.SetSelectedStyledText](https://www.mbsplugins.eu/TextViewSetSelectedStyledText.shtml), [TextView.GetStyledText](https://www.mbsplugins.eu/TextViewGetStyledText.shtml) and [TextView.SetStyledText](https://www.mbsplugins.eu/TextViewSetStyledText.shtml) for Windows.
- **Version 10.5**
    - Added more [TextView](https://www.mbsplugins.eu/component_TextView.shtml) functions: [TextView.GetSelectedStyledText](https://www.mbsplugins.eu/TextViewGetSelectedStyledText.shtml), [TextView.SetSelectedStyledText](https://www.mbsplugins.eu/TextViewSetSelectedStyledText.shtml), [TextView.GetSelectedHTMLText](https://www.mbsplugins.eu/TextViewGetSelectedHTMLText.shtml), [TextView.SetSelectedHTMLText](https://www.mbsplugins.eu/TextViewSetSelectedHTMLText.shtml), [TextView.GetSelectedRTF](https://www.mbsplugins.eu/TextViewGetSelectedRTF.shtml), [TextView.SetSelectedRTF](https://www.mbsplugins.eu/TextViewSetSelectedRTF.shtml), [TextView.GetSelectedPlainText](https://www.mbsplugins.eu/TextViewGetSelectedPlainText.shtml), [TextView.SetSelectedPlainText](https://www.mbsplugins.eu/TextViewSetSelectedPlainText.shtml), [TextView.GetSelectionStart](https://www.mbsplugins.eu/TextViewGetSelectionStart.shtml), [TextView.SetSelectionStart](https://www.mbsplugins.eu/TextViewSetSelectionStart.shtml), [TextView.GetSelectionLength](https://www.mbsplugins.eu/TextViewGetSelectionLength.shtml), [TextView.SetSelectionLength](https://www.mbsplugins.eu/TextViewSetSelectionLength.shtml), and [TextView.SetSelection](https://www.mbsplugins.eu/TextViewSetSelection.shtml).
    - Changed [TextView](https://www.mbsplugins.eu/component_TextView.shtml) functions to disable syntax colorizing for them.
- **Version 10.4**
    - Added [TextView.GetStyledText](https://www.mbsplugins.eu/TextViewGetStyledText.shtml), [TextView.SetStyledText](https://www.mbsplugins.eu/TextViewSetStyledText.shtml) and [TextView.AppendStyledText](https://www.mbsplugins.eu/TextViewAppendStyledText.shtml) functions.
- **Version 10.3**
    - Deprecated [DragDrop.CreateOnPopoverWithControl](https://www.mbsplugins.eu/DragDropCreateOnPopoverWithControl.shtml), [DragDrop.CreateOnPopoverWithSize](https://www.mbsplugins.eu/DragDropCreateOnPopoverWithSize.shtml), [TextView.CreateOnPopoverWithControl](https://www.mbsplugins.eu/TextViewCreateOnPopoverWithControl.shtml), [TextView.CreateOnPopoverWithSize](https://www.mbsplugins.eu/TextViewCreateOnPopoverWithSize.shtml) and [WebView.CreateOnPopover](https://www.mbsplugins.eu/WebViewCreateOnPopover.shtml) functions.
    - Removed [TextView.CreateWithWindow](https://www.mbsplugins.eu/TextViewCreateWithWindow.shtml) function.
    - Rewrote also [DragDrop.SetFrame](https://www.mbsplugins.eu/DragDropSetFrame.shtml), [ImageView.SetFrame](https://www.mbsplugins.eu/ImageViewSetFrame.shtml), [MapView.SetFrame](https://www.mbsplugins.eu/MapViewSetFrame.shtml) and [TextView.SetFrame](https://www.mbsplugins.eu/TextViewSetFrame.shtml).
    - Rewrote control placement for MacOS and iOS controls for [AVPlayer.AddView](https://www.mbsplugins.eu/AVPlayerAddView.shtml), [DragDrop.CreateWithControl](https://www.mbsplugins.eu/DragDropCreateWithControl.shtml), [ImageView.CreateWithControl](https://www.mbsplugins.eu/ImageViewCreateWithControl.shtml), [MapView.CreateWithControl](https://www.mbsplugins.eu/MapViewCreateWithControl.shtml), [TextView.CreateWithControl](https://www.mbsplugins.eu/TextViewCreateWithControl.shtml), [WebView.CreateWithControl](https://www.mbsplugins.eu/WebViewCreateWithControl.shtml).
    - Rewrote control placement for MacOS and iOS controls for [AVPlayer.SetFrameWithControl](https://www.mbsplugins.eu/AVPlayerSetFrameWithControl.shtml), [DragDrop.SetFrameWithControl](https://www.mbsplugins.eu/DragDropSetFrameWithControl.shtml), [ImageView.SetFrameWithControl](https://www.mbsplugins.eu/ImageViewSetFrameWithControl.shtml), [MapView.SetFrameWithControl](https://www.mbsplugins.eu/MapViewSetFrameWithControl.shtml) [TextView.SetFrameWithControl](https://www.mbsplugins.eu/TextViewSetFrameWithControl.shtml), [WebView.SetFrameWithControl](https://www.mbsplugins.eu/WebViewSetFrameWithControl.shtml).
- **Version 10.0**
    - Changed [DragDrop.CreateOnPopoverWithControl](https://www.mbsplugins.eu/DragDropCreateOnPopoverWithControl.shtml) and [TextView.CreateOnPopoverWithControl](https://www.mbsplugins.eu/TextViewCreateOnPopoverWithControl.shtml) to return error when popover is not found.
    - Changed [DragDrop.CreateWithControl](https://www.mbsplugins.eu/DragDropCreateWithControl.shtml), [DragDrop.CreateOnPopoverWithControl](https://www.mbsplugins.eu/DragDropCreateOnPopoverWithControl.shtml), [TextView.CreateWithControl](https://www.mbsplugins.eu/TextViewCreateWithControl.shtml), [TextView.SetFrameWithControl](https://www.mbsplugins.eu/TextViewSetFrameWithControl.shtml) and [TextView.CreateOnPopoverWithControl](https://www.mbsplugins.eu/TextViewCreateOnPopoverWithControl.shtml) to return error when control is not found.
- **Version 9.2**
    - Added [TextView](http://www.mbsplugins.eu/component_TextView.shtml) functions to have our own text control for Mac, iOS and Windows.

### Blog Entries

- [MBS FileMaker Plugin, June 2021 News](https://www.mbsplugins.de/archive/2021-06-01/MBS_FileMaker_Plugin_June_2021/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.5 - Über 6400 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2020-11-17/Neues_MBS_FileMaker_Plugin_105/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.5 - More than 6400 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-11-17/MBS_FileMaker_Plugin_105_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.5pr5](https://www.mbsplugins.de/archive/2020-10-17/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.5pr1](https://www.mbsplugins.de/archive/2020-10-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.4 - More than 6300 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-09-15/MBS_FileMaker_Plugin_104_-_Mor/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 9.2](https://www.mbsplugins.de/archive/2019-05-21/Neues_MBS_FileMaker_Plugin_92/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 9.2 - More than 5800 Functions In One Plugin](https://www.mbsplugins.de/archive/2019-05-21/MBS_FileMaker_Plugin_92_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.2pr3](https://www.mbsplugins.de/archive/2019-04-17/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 27](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

- [Text functions/TextView](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Text%20functions/TextView.shtml#5ScriptAnchor_)

[HTML Version](component_TextView.shtml)