Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

DragDrop.GetText

Queries text from the drop.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DragDrop 2.6 Yes Yes No No No
MBS( "DragDrop.GetText"; droparea )   More

Parameters

Parameter Description Example value
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

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


DragDrop.GetTag   -   DragDrop.GetTop

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos