OnDrop Property

Gets or sets the name of a macro or script to be run when the Drop event occurs. Newlook Smartclient-only property.

object.OnDrop = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the macro or script to run.

Client support

Newlook Smartclient only.

Use

This event occurs when a file(s) is dropped onto the control using drag and drop functionality (i.e. the file is dragged from the open Explorer window onto the control).

Use this property if you wish to perform some processing when the file(s) is dropped onto the control.

TIP:

The OnDrop property can only be set if the AllowDrop property of the control is set to True.

See Also

AllowDrop 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.