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.SetDragExitHandler
Component: DragDrop
Version: 2.4
Mac OS X: Works
Windows: Does nothing
MBS( "DragDrop.SetDragExitHandler"; 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 exit handler.Specify a filename and script name to have this script being called when a drag operation leaves the window. This gives you the possibility to restore the window from anything you drawed there on Drag Enter.
The script parameter will be the drop area reference.
Examples
Registers drag exit handler:
MBS( "DragDrop.SetDragExitHandler"; $dropHandle; Get ( FileName ); "MyDragExit")
Feedback: Report problem or ask question.
Links
MBS Realbasic tutorial videos - Pfarrgemeinde Messdiener Nickenich