Common/DocumentResultList: Fix not being able to group columns anymore, because of dragdrop stuff
This commit is contained in:
parent
04044b2ccd
commit
fc97ec6be9
@ -788,14 +788,19 @@ Public Class frmDocumentResultList
|
|||||||
Private Sub GridView1_MouseMove(sender As GridView, e As MouseEventArgs) Handles GridView1.MouseMove
|
Private Sub GridView1_MouseMove(sender As GridView, e As MouseEventArgs) Handles GridView1.MouseMove
|
||||||
If e.Button AndAlso e.Button = MouseButtons.Left Then
|
If e.Button AndAlso e.Button = MouseButtons.Left Then
|
||||||
If _DragBoxFromMouseDown <> Rectangle.Empty And Not _DragBoxFromMouseDown.Contains(e.X, e.Y) Then
|
If _DragBoxFromMouseDown <> Rectangle.Empty And Not _DragBoxFromMouseDown.Contains(e.X, e.Y) Then
|
||||||
If _DocumentInfo IsNot Nothing AndAlso _DocumentInfo.AccessRight > Rights.AccessRight.VIEW_ONLY Then
|
|
||||||
_ScreenOffset = SystemInformation.WorkingArea.Location
|
|
||||||
|
|
||||||
Dim oFullPath As String = _DocumentInfo.FullPath
|
Dim oHitInfo = sender.CalcHitInfo(e.Location)
|
||||||
Dim oFiles As String() = {oFullPath}
|
|
||||||
Dim oData As New DataObject(DataFormats.FileDrop, oFiles)
|
|
||||||
|
|
||||||
sender.GridControl.DoDragDrop(oData, DragDropEffects.All)
|
If oHitInfo.InRow Then
|
||||||
|
If _DocumentInfo IsNot Nothing AndAlso _DocumentInfo.AccessRight > Rights.AccessRight.VIEW_ONLY Then
|
||||||
|
_ScreenOffset = SystemInformation.WorkingArea.Location
|
||||||
|
|
||||||
|
Dim oFullPath As String = _DocumentInfo.FullPath
|
||||||
|
Dim oFiles As String() = {oFullPath}
|
||||||
|
Dim oData As New DataObject(DataFormats.FileDrop, oFiles)
|
||||||
|
|
||||||
|
sender.GridControl.DoDragDrop(oData, DragDropEffects.All)
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user