Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DragDrop.SetTag

Sets the tag string for this drop view.

Component Version macOS Windows Linux Server iOS SDK
DragDrop 3.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "DragDrop.SetTag"; droparea; tag )   More

Parameters

Parameter Description Example
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
tag A string you want to associate with the dropview.

Result

Returns OK or error message.

Description

Sets the tag string for this drop view.
Use the tag to store whatever value you want to associate with the drop view. You can later query it using DragDrop.GetTag.

Examples

Store record ID in the tag value:

Set Variable [$r; MBS( "DragDrop.SetTag"; $$droparea; MyTable::RecordID ) ]

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 18th December 2020


DragDrop.SetImage - DragDrop.SetVisible

💬 Ask a question or report a problem