xBrowse and bDragBegin

xBrowse and bDragBegin

Postby gkuhnert » 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: 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())}) }
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 109 guests