TextView.AppendStyledText
-------------------------

Appends the styled text.

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

MBS( "TextView.AppendStyledText"; TextView; Text ) 

**MBS**( **"TextView.AppendStyledText";** /\* Appends the styled text. \*/  
**$TextView**; /\* The reference number to the text view. \*/   
**$Text**) /\* The new text with styles.e.g. "Hello" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TextView | The reference number to the text view. | $textview |
| Text | The new text with styles. | "Hello" |

### Result

Returns OK or error.

### Description

Appends the styled text.  
### Examples

Add styled text:

 Set Variable \[ $r ; Value: MBS ( "TextView.AppendStyledText"; $$TextView ; TextColor ( "Some red text" ; RGB ( 255 ; 0 ; 0 ) ) ) \]  
### See also

- [TextView.GetStyledText](TextViewGetStyledText.md)
- [TextView.SetStyledText](TextViewSetStyledText.md)

### Release notes

- **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.

### Blog Entries

- [What is new in the MBS FileMaker Plugin Version 10.4](https://www.mbsplugins.de/archive/2020-09-22/What_is_new_in_the_MBS_FileMak/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.4](https://www.mbsplugins.de/archive/2020-09-15/Neues_MBS_FileMaker_Plugin_104/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)
- [MBS FileMaker Plugin, version 10.4pr1](https://www.mbsplugins.de/archive/2020-07-28/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd July 2020 , last changed 15th January 2024

  
[Text.ZLibDecompress](TextZLibDecompress.md) - [TextView.CanUndo](TextViewCanUndo.md)

[HTML Version](TextViewAppendStyledText.shtml)