Viscom Software Image Thumbnail CP ActiveX Control

DragInsideMode Property

Description:   

Set the drag mode, either moving inside mode or drag outside mode.  0 - moving inside mode, 1 drag outside mode

Usage:   

ImageThumbnailCP1.DragInsideMode[= value]

Data Type:   

Integer

0 -Moving inside mode , e.g.  you can drag the clip from index 1 to index 5
1 -Drag outside mode , e.g you can drag the clip into the texbox, the text box will receive the path of that clip in OLEDragDrop event.

Example:   

This Visual Basic example enable moving the clip

Private Sub Form_Load()
       ImageThumbnailCP1.DragInsideMode=0

End Sub

This Visual Basic example enable drag the clip into the text box, first set the text1 OLEDropMode =2

       ImageThumbnailCP1.DragInsideMode=1

Private Sub Text1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)

MsgBox (Data.GetFormat(vbCFText))

End Sub