ImageView.SetVisible
--------------------

Hides or shows the image view.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImageView](component_ImageView.md) | [7.4](newinversion74.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImageView.SetVisible"; ImageView; Visible ) 

**MBS**( **"ImageView.SetVisible";** /\* Hides or shows the image view. \*/  
**$ImageView**; /\* The image view reference number.e.g. $$ImageView \*/   
**$Visible**) /\* The new visible state.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageView | The image view reference number. | $$ImageView |
| Visible | The new visible state. | 1 |

### Result

Returns OK or error.

### Description

Hides or shows the image 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.GetVisible](ImageViewGetVisible.md)
- [MapView.GetVisible](MapViewGetVisible.md)
- [MapView.SetVisible](MapViewSetVisible.md)
- [TextView.SetVisible](TextViewSetVisible.md)

### Example Databases

- [Mac and iOS/ImageView](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/ImageView.shtml#5ScriptAnchor_)

This function checks for a license.

Created 14th September 2017 , last changed 14th September 2017

  
[ImageView.SetToolTip](ImageViewSetToolTip.md) - [Is64bit](Is64bit.md)

[HTML Version](ImageViewSetVisible.shtml)