Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

dragDrop method

Initiates a drag event.

Syntax

object.dragDrop(pfRet)

Parameters

pfRet [out, retval]
C++Pointer to a Boolean that receives one of the following values:
JavaScriptABoolean. Returns one of the following values.

true (true)

Drag operation was completed successfully.

false (false)

Drag operation was canceled.

Return value

Type: Boolean

ABoolean. Returns one of the following values.Pointer to a Boolean that receives one of the following values:true

Drag operation was completed successfully.

false

Drag operation was canceled.

Standards information

There are no standards that apply here.

Remarks

You can use this method to fire the ondragstart event. If the event is not canceled, a drag operation is started. The method returns VARIANT_TRUE when the mouse is released. If the ondragstart event is canceled, the method returns VARIANT_FALSE immediately.

See also

a
area
baseFont
bgSound
body
br
button
caption
col
comment
dd
div
dt
embed
font
form
frame
head
hr
html
iframe
IHTMLBodyElement::text
img
input type=button
input type=checkbox
input type=email
input type=file
input type=image
input type=number
input type=password
input type=radio
input type=range
input type=reset
input type=search
input type=submit
input type=tel
input type=text
input type=url
isIndex
label
legend
li
map
marquee
meta
object
ol
option
p
script
select
span
style
table
td
textArea
title
tr
ul

 

 

Show:
© 2014 Microsoft