QMedia
![]() |
![]() ![]() |
QM_SetDragEnabled(areaRef; dragEnabled):error | |||
![]() |
areaRef | Longint | Movie area reference |
![]() |
dragEnabled | Longint | Dragging flag |
![]() |
error | Longint | Error result |
Enables/disables drag n' drop from the movie controller in a movie plug-in area to the Macintosh desktop.
If dragging is enabled, the user can drag a movie from the plug-in area to the desktop in order to create a movie clipping file. This feature is available on MacOS only.
The movie plug-in area is specified by areaRef.
Parameter dragEnabled specifies how the area will respond to dragging. If dragEnabled is set to 1, the area will allow dragging the movie to the desktop. If dragEnabled is set to 0, the area will not allow dragging.
Example
`Enable dragging to desktop from plug-in area xMovieArea $error:=QM_SetDragEnabled (xMovieArea;1) |
Related commands
QM_GetDragEnabled | Returns drag 'n drop handling status. |