TextView.SetVisible
-------------------

Hides or shows the text view.

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

MBS( "TextView.SetVisible"; TextView { ; Visible } ) 

**MBS**( **"TextView.SetVisible";** /\* Hides or shows the text view. \*/  
**$TextView**; /\* The reference number to the text view. \*/   
**$Visible**) /\* Optional; The new visible state.  
Pass 0 to hide or 1 to show.  
Default is 1.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| TextView | The reference number to the text view. | $textview |  |
| Visible | The new visible state.   Pass 0 to hide or 1 to show.   Default is 1. | 1 | Optional |

### Result

Returns OK or error.

### Description

Hides or shows the text view.  
By default we create it visible, but you can hide it if it's on a register and the user clicked to other tab.  
### See also

- [ImageView.SetVisible](ImageViewSetVisible.md)
- [MapView.GetVisible](MapViewGetVisible.md)
- [MapView.SetVisible](MapViewSetVisible.md)
- [TextView.GetVisible](TextViewGetVisible.md)
- [TextView.SetRulerVisible](TextViewSetRulerVisible.md)

This function checks for a license.

Created 15th April 2019 , last changed 17th July 2022

  
[TextView.SetTag](TextViewSetTag.md) - [TextView.ShowFontPanel](TextViewShowFontPanel.md)

[HTML Version](TextViewSetVisible.shtml)