FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse and bDragBegin
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
xBrowse and bDragBegin
Posted: Thu Mar 25, 2010 11:05 AM
Hello,

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 (fw): Select all Collapse
   //** Für Drag & Drop
   oLB:oDragCursor := oCursor        // Select a Drag cursor
   oLB:bDragBegin  := {|nRow, nCol, nKeyFlags| SetDropInfo({DROP_ADRESSE,Adressen->(RecNo())}) }
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de

Continue the discussion