QLPreviewPanel.Move
-------------------

Moves the panel to the given position.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [QuickLook](component_QuickLook.md) | [4.3](newinversion43.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "QLPreviewPanel.Move"; X; Y { ; Duration } ) 

**MBS**( **"QLPreviewPanel.Move";** /\* Moves the panel to the given position. \*/  
**$X**; /\* The new screen position. Distance from top/left edge of main screen in points.e.g. 10 \*/   
**$Y**; /\* The new screen position. Distance from top/Left edge of main screen in points.e.g. 50 \*/   
**$Duration**) /\* Optional; Optional the duration. Can be a value between 0.1 and 5.0. Use zero to disable.e.g. 0.5 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| X | The new screen position. Distance from top/left edge of main screen in points. | 10 |  |
| Y | The new screen position. Distance from top/Left edge of main screen in points. | 50 |  |
| Duration | Optional the duration. Can be a value between 0.1 and 5.0. Use zero to disable. | 0.5 | Optional |

### Result

Returns OK or error.

### Description

Moves the panel to the given position.  
You can use this method to have the panel side by side to your FileMaker layout window.  
### See also

- [QLPreviewPanel.Clear](QLPreviewPanelClear.md)
- [QLPreviewPanel.Hide](QLPreviewPanelHide.md)
- [QLPreviewPanel.Resize](QLPreviewPanelResize.md)
- [QLPreviewPanel.Show](QLPreviewPanelShow.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.4pr7](https://www.mbsplugins.de/archive/2014-10-27/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 26th October 2014

  
[QLPreviewPanel.IsVisible](QLPreviewPanelIsVisible.md) - [QLPreviewPanel.Resize](QLPreviewPanelResize.md)

[HTML Version](QLPreviewPanelMove.shtml)