Preferences.GetTextSelectionWithDragAndDrop
-------------------------------------------

Queries drag and drop preference.

| 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.GetTextSelectionWithDragAndDrop" ) ### Parameters

none

### Result

Returns current value 0 or 1 or an error.

### Description

Queries drag and drop preference.  
This function queries the preference setting from FileMaker (or 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.SetTextSelectionWithDragAndDrop](PreferencesSetTextSelectionWithDragAndDrop.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#1ScriptAnchor_)

### 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 24th September 2019

  
[Preferences.DeleteValue](PreferencesDeleteValue.md) - [Preferences.GetValue](PreferencesGetValue.md)

[HTML Version](PreferencesGetTextSelectionWithDragAndDrop.shtml)