Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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. Use functions like DragDrop.CreateWithControl to create a 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

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 5th February 2018


DragDrop.GetTag - DragDrop.GetTop

💬 Ask a question or report a problem