TextView.GetSelectedStyledText
------------------------------

Queries styled text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TextView](component_TextView.md) | [10.5](newinversion105.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "TextView.GetSelectedStyledText"; TextView ) 

**MBS**( **"TextView.GetSelectedStyledText";** /\* Queries styled text. \*/  
**$TextView**) /\* The reference number to the text view. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TextView | The reference number to the text view. | $textview |

### Result

Returns styled text or error.

### Description

Queries styled text.  
Returns the text of the text view with styles.  
Use this function for selection only and [TextView.GetStyledText](TextViewGetStyledText.md) for whole text.  
  
Implemented for Windows with version 11.3 of MBS Plugin.  
### See also

- [TextView.GetSelectedHTMLText](TextViewGetSelectedHTMLText.md)
- [TextView.GetSelectedPlainText](TextViewGetSelectedPlainText.md)
- [TextView.GetStyled](TextViewGetStyled.md)
- [TextView.GetStyledText](TextViewGetStyledText.md)
- [TextView.SetSelectedHTMLText](TextViewSetSelectedHTMLText.md)
- [TextView.SetSelectedPlainText](TextViewSetSelectedPlainText.md)
- [TextView.SetSelectedStyledText](TextViewSetSelectedStyledText.md)

### 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).

### Blog Entries

- [MBS FileMaker Plugin, version 11.3pr1](https://www.mbsplugins.de/archive/2021-06-03/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 10.5](https://www.mbsplugins.de/archive/2020-11-23/New_in_MBS_FileMaker_Plugin_10/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)

### FileMaker Magazin

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

This function checks for a license.

Created 29th September 2020 , last changed 19th May 2021

  
[TextView.GetSelectedRTF](TextViewGetSelectedRTF.md) - [TextView.GetSelectionLength](TextViewGetSelectionLength.md)

[HTML Version](TextViewGetSelectedStyledText.shtml)