Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  

DragDrop.SetImage

Sets the image to be shown in the drop area.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DragDrop 2.4 Yes Yes No No No

MBS( "DragDrop.SetImage"; droparea; image )

Parameters

Parameter Description Example value
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
image the image to use. For best results, pass a container value with a PNG image.

Result

Returns "OK" on success.

Description

Sets the image to be shown in the drop area.
Currently not working right in FileMaker 13. Better just put image in layout where you plan to put the drag area.
Added Windows support for MBS Plugin 8.1.

Examples

Put a picture on drop area:

Set Variable [$result; Value:MBS( "DragDrop.SetImage"; $dropview; DragTest::img )]

See also


DragDrop.SetFrame   -   DragDrop.SetTag

Feedback: Report problem or ask question.




Links
MBS FileMaker blog