Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DragDrop.GetText
Queries text from the drop.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 2.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "DragDrop.GetText"; droparea ) More
Parameters
Parameter | Description | Example |
---|---|---|
droparea | The reference ID for this drop area. | $dropHandle |
Result
The text.
Description
Queries text from the drop.Added Windows support for MBS Plugin 8.1.
Examples
Process text coming with Drag & Drop:
Set Variable [ $text ; Value: MBS("DragDrop.GetText"; $dropview) ]
If [ Length($text) > 0 ]
New Record/Request
Set Field [ DragTest::Text ; $text ]
Set Field [ DragTest::Description ; "Got text" ]
Commit Records/Requests [ With dialog: Off ]
End If
See also
- DragDrop.GetLeft
- DragDrop.GetPath
- DragDrop.GetRTF
- DragDrop.GetSVG
- DragDrop.GetTag
- DragDrop.GetTop
- DragDrop.GetTypes
- DragDrop.GetURL
- DragDrop.GetWidth
- DragDrop.SetTag
Example Databases
- Drag and Drop/DragTest Popover
- Drag and Drop/DragTest
- Drag and Drop/for Mac/DragTest Text
- Drag and Drop/for Mac/Image drag from one database to other/Image drop
- Drag and Drop/for Mac/Text drag from one database to other/Text drag
- Drag and Drop/for Mac/Text drag from one database to other/Text drop
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 5th February 2018