option explicit
private sub form_load()
text1.dragmode = vbautomatic
end sub
private sub text2_dragdrop(source as control, x as single, y as single)
dim s as string
if source is text1 then
s = text1.text
text1.text = text2.text
text2.text = s
end if
end sub