IKSlideShow.Clear
-----------------

Clears the list of slides.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [IKSlideShow](component_IKSlideShow.md) | [1.6](newinversion16.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "IKSlideShow.Clear" { ; Index } ) 

**MBS**( **"IKSlideShow.Clear";** /\* Clears the list of slides. \*/  
**$Index**) /\* Optional; The index of the item to remove.  
From 0 to [IKSlideShow.Count](IKSlideShowCount.md)-1.  
  
If parameter is not provided, we clear all items.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Index | The index of the item to remove.   From 0 to [IKSlideShow.Count](IKSlideShowCount.md)-1.      If parameter is not provided, we clear all items. | 0 | Optional |

### Result

Returns OK or error.

### Description

Clears the list of slides.  
### See also

- [IKSlideShow.Count](IKSlideShowCount.md)

### Example Databases

- [Mac only/Slideshow Example](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Slideshow%20Example.shtml#1GroupButton570.0000000234.0000000595.0000000325.0000000LayoutObjectAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 6.4pr3](https://www.mbsplugins.de/archive/2016-08-08/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 3th August 2016

  
[IKSlideShow.AddURL](IKSlideShowAddURL.md) - [IKSlideShow.Count](IKSlideShowCount.md)

[HTML Version](IKSlideShowClear.shtml)