following problem occurs when using bDragBegin with xBrowse:
2 Windows using xBrowse are opened, let's say a window with adresses and a window with articles. The window with articles has the focus. Now I click (once) into the window with adresses and the cursor changes to the cursor being used in the event of bDragBegin. It only happens, when enough data are available. And only if the click is a normal, short click. If I keep the button of the mouse down for about a second and then disengage the button, it doesn't happen.
It looks to me, as if disengaging the left mouse button isn't being perceived by the system and so the dragging begins without intention of the user.
With wBrowse this problem won't occur.
For example, this is my code in the window with the adresses:
- Code: Select all Expand view
- //** Für Drag & Drop
oLB:oDragCursor := oCursor // Select a Drag cursor
oLB:bDragBegin := {|nRow, nCol, nKeyFlags| SetDropInfo({DROP_ADRESSE,Adressen->(RecNo())}) }