Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

DragDrop.SetDragActionHandler

Component: DragDrop
Version: 2.4
Mac OS X: Works
Windows: Does nothing

MBS( "DragDrop.SetDragActionHandler"; droparea; FileName; ScriptName )

Parameters

Parameter Description Example value
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
FileName The name of the FileMaker File that contains the script
ScriptName The name of the script to run

Result

Returns "OK" on success.

Description

Sets the drag action handler.
Specify a filename and script name to have this script being called when a drag operation drops something on the window. This gives you the possibility to process the data.
The script parameter will be the drop area reference.

Examples

Registers drag action handler:

MBS( "DragDrop.SetDragActionHandler"; $dropHandle; Get ( FileName ); "MyDragAction")

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Pfarrgemeinde Ministranten Nickenich