Applies to

Drag Source controls

Description

A boolean property denoting if a drag source control allows a MOVE operation.

Usage

dragMove = Get_Property (dragSource, "DRAGMOVE")

existingState = Set_Property (dragSource,"DRAGMOVE", bValue)

Remarks

Values passed in Set_Property():

ValueDescription
bValueBoolean true (1) or false (0)

By default the DRAGMOVE property is set to 1. This property should be set during the DRAGSTART event when overriding the default property. The DRAGMOVE property overrides the DRAGCOPY property. If you have both the DRAGMOVE and DRAGCOPY properties set to 1 then the DRAGMOVE will occur not the DRAGCOPY.

Returns

Values returned by Get_Property and Set_Property

ValueDescription
dragMovethe Boolean status of the control’s DRAGMOVE.
existingStatethe Boolean status of the control’s DRAGMOVE, when Set_Property was run.

See Also

DRAGSOURCE propertyDRAGCOPY property

Example

Declare function Get_Property, Set_Property
 
* Turn the DRAGMOVE property off.
 
dragSource = Get_Property("SYSTEM","DRAGSOURCE")
dragMove = Set_Property(dragSource,"DRAGMOVE",0)
  • No labels