[GB.GUI.BASE]

* BUG: GridView: Stop the scrolling timer when focus is lost, as if you open a modal dialog during a MouseDown event, you don't get the MouseUp event! Maybe I should systematically raise a fake MouseUp event when focus is lost, and QT didn't send it.


git-svn-id: svn://localhost/gambas/trunk@7930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-10-10 16:42:40 +00:00
parent a2893370b5
commit a28a30d0f4
3 changed files with 11 additions and 8 deletions

View File

@ -868,6 +868,10 @@ ScrollArea_MouseUp
m
ScrollArea_LostFocus
m
ScrollArea_DragLeave
m

View File

@ -1264,7 +1264,7 @@ End
' End
Private Sub AfterMouseUp()
If Me.Design Then Return
If _NoMouse Then Return
@ -1285,12 +1285,11 @@ End
Public Sub ScrollArea_MouseUp()
'If $iMode = Select.Multiple And $bInRow And If $iRow = $iMoveSelectRow Then
' If Mouse.Normal Then
' $hRows._GetSel().UnSelectAll
' $hRows.Select($iRow, 1)
' Endif
'Endif
AfterMouseUp
End
Public Sub ScrollArea_LostFocus()
AfterMouseUp

View File

@ -2,7 +2,7 @@ FGridView
gb.gui.base
0
0
3.8.90
3.9.90
gb.image
gb.gui