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

DragDrop.SetVisible

Hides or shows the drop area.

Component Version macOS Windows Linux Server iOS SDK
DragDrop 4.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "DragDrop.SetVisible"; droparea; Visible )   More

Parameters

Parameter Description Example
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
Visible The new visible state. 1

Result

Returns OK or error.

Description

Hides or shows the drop area.
By default we create it visible, but you can hide it if it's on a register and the user clicked to other tab.

Examples

Hide it:

MBS( "DragDrop.SetVisible"; $$dropview; 0 )

Show it:

MBS( "DragDrop.SetVisible"; $$dropview; 1 )

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 5th June 2020


DragDrop.SetTag - DragDrop.UnregisterDropTypes

💬 Ask a question or report a problem