Preferences.SetTextSelectionWithDragAndDrop
-------------------------------------------

Set the preference setting from FileMaker/Runtime about allowing text selection by drag and drop.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Preferences](component_Preferences.md) | [2.8](newinversion28.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |

MBS( "Preferences.SetTextSelectionWithDragAndDrop"; Value ) 

**MBS**( **"Preferences.SetTextSelectionWithDragAndDrop";** /\* Set the preference setting from FileMaker/Runtime about allowing text selection by drag and drop. \*/  
**$Value**) /\* The new value: 0 for off and 1 for on.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new value: 0 for off and 1 for on. | 1 |

### Result

Returns OK or error.

### Description

Set the preference setting from FileMaker/Runtime about allowing text selection by drag and drop.  
Due to the way the preferences work, we can read the value which the setting has, but we can only set the value for the next launch of the application.  
### See also

- [Preferences.GetTextSelectionWithDragAndDrop](PreferencesGetTextSelectionWithDragAndDrop.md)

### Release notes

- **Version 9.5**
    - Fixed [Preferences.GetTextSelectionWithDragAndDrop](http://www.mbsplugins.eu/PreferencesGetTextSelectionWithDragAndDrop.shtml) and [Preferences.SetTextSelectionWithDragAndDrop](http://www.mbsplugins.eu/PreferencesSetTextSelectionWithDragAndDrop.shtml) to work in current FileMaker 18.

### Example Databases

- [Preferences/TextSelectionWithDragAndDrop Preference](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Preferences/TextSelectionWithDragAndDrop%20Preference.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 9.5pr1](https://www.mbsplugins.de/archive/2019-10-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.8pr5](https://www.mbsplugins.de/archive/2012-06-22/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 17th June 2018

  
[Preferences.List](PreferencesList.md) - [Preferences.SetValue](PreferencesSetValue.md)

[HTML Version](PreferencesSetTextSelectionWithDragAndDrop.shtml)