dropAccept()

Defines whether a graphics object accepts drop operations.

Synopsis

int dropAccept( bool accept = TRUE);

Parameters

Parameter Description
accept If FALSE is returned, the user will see a specially shaped cursor icon (e.g. under Windows) that tells him that this graphics object does not accept the information already before the drop occurs. If "acceptDrops" is TRUE, but there is no script implemented inside this DragEnter event, for convenience all drops are automatically accepted.

Return Value

-1 in case of error. Otherwise 0.

Description

Defines whether a graphics object accepts drop operations.

Example

For examples on how to use this function see chapter Example of Drag and Drop.

Assignment

Graphics functions

Availability

UI