# Create a control and Generate a drag image
if tObjectTypeID begins with "community.livecode.hermann." then
put revIDEExtensionProperty(tObjectTypeID, "icon") into fImg
if fImg is empty then put revIDEDefaultExtensionIcon("widget") into fImg
put fImg into fTmp
set the itemdelimiter to "."
put fImg into fTmp
replace ".png" with "@extra-high.png" in fTmp
if there is a file fTmp then put fTmp into fImg
create invisible img "tmp"
set the filename of img "tmp" to fImg
set topleft of img 1 to 0,0
show img 1
disable img 1
set the windowshape of this stack to the ID of image 1
set the rect of this stack to the rect of image 1
else
...
end if

The highlighting of the target stack works but then the dragDrop fails.