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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


DragDrop.SetImage - DragDrop.SetVisible

Feedback: Report problem or ask question.