QD_SetDropOptions

QD_SetDropOptions(areaRef; dropOptions):error
areaRef Longint Area reference
dropOptions Longint Drop options
error Longint Error result

Configures various options of a QDrop plug-in area.

Parameter areaRef is the reference to the plug-in area.

Parameter dropOptions is a set of options that specify the area's behavior. Use the following constants by combining them with bitwise or (|).

qd_acceptMultipleItems 0x0001 The area accepts multiple items
qd_matchAllDraggedFiles 0x0002 All dragged files must match

Example

`Accept multiple files and match all files
 
C_LONGINT($error;$options)
 
$options:=qd_acceptMultipleItems | qd_matchAllDraggedFiles
 
$error:=QD_SetDropOptions (xDrop;$options)
 

Related commands

QD_GetDropOptions Returns various options of a QDrop plug-in area

QDrop © Escape
Generated by QDoc 2.8 on Thu, Oct 1, 2009 17:03:39