Skip to content

RegisterDragSource - cWebDragDropHelper

Adds a control to the list of drag sources for this helper

Type: Procedure

Parameters

Parameter Type Description
hoObj Handle The control to add
eAction WebDragAction Drop action for this control to support.

Syntax

Procedure RegisterDragSource Handle hoObj WebDragAction eAction

Call Example

Send RegisterDragSource hoObj eAction

Description

Adds a control to the list of drag sources for this helper.

The same control can be added multiple times to support additional actions.

Drag Actions

The following classes support elements being dragged for specific actions using the following constants:

cWebList: C_WebDragListRow cWebTreeView: C_WebDragTreeviewFolder, C_WebDragTreeviewItem cWebTagsForm: C_WebDragTagsFormTag

Attempting to add an unsupported drag action to a control will result in an Error.