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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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