AllowDrop Property

Gets or sets whether the object allows drag/drop support. Newlook Smartclient-only property. This default setting for this property is False.

object.AllowDrop = [boolean]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False, as described in Settings below.

Client support

Newlook Smartclient only.

Use

This property can be set in Designer and determines whether the control will allow the use of drag and drop functionality to drop files onto it (i.e. files dragged from an open Explorer window). When a control or form has the drop event enabled the cursor will have a + (plus) sign added to the arrow, if drag and drop is not active the cursor will change to a no entry sign.

Settings

Setting

Description

True

File drop has been enabled for the control.

False

(Default) File drop is not enabled for the control.

See Also

OnDrop property | DroppedFiles collection

Applies To

DataGrid control

Form object

ListBox control

ListView control

Panel control

PictureBox control

SmartNav Group object

TabPage object

TreeView control


© 2004-2021 looksoftware. All rights reserved.