Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries styled text from drag as HTML.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DragDrop | 9.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
droparea | The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. | $dropHandle | |
Encoding | The text encoding for result. Default is Windows ANSI. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
UTF8 | Optional |
Returns HTML text or error.
Query HTML text:
Set Variable [ $text ; Value: MBS("DragDrop.GetHTML"; $dropview) ]
If [ Length($text) > 0 ]
New Record/Request
Set Field [ DragTest::Text ; $text ]
Set Field [ DragTest::Description ; "Got HTML" ]
Commit Records/Requests [ With dialog: Off ]
End If
This function checks for a license.
Created 13th March 2019, last changed 18th December 2020