Dear Master Rao,
Any update, thx in advance,
Dutch
bDragBegin and bDropOver problem (fixed!)
Re: bDragBegin and bDropOver problem *Unresolve*
Regards,
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Antonio Linares
- Site Admin
- Posts: 42723
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 93 times
- Been thanked: 106 times
- Contact:
Re: bDragBegin and bDropOver problem *Unresolve*
Reduced example, we are much closer to solve it 
Dropping above the browse does not work, dropping just a little bellow, it works

Dropping above the browse does not work, dropping just a little bellow, it works

Code: Select all | Expand
#include "FiveWin.ch"
function Main()
local oCur, oDlg, oBrw
DEFINE CURSOR oCur DRAG
DEFINE DIALOG oDlg SIZE 600,250 PIXEL
@ 20,20 XBROWSE oBrw SIZE 100,-20 PIXEL OF oDlg ;
DATASOURCE { "One", "Two", "Three" } ;
CELL LINES NOBORDER
WITH OBJECT oBrw
:nStretchCol := 1
:oDragCursor := oCur
:bDragBegin := { || SetDropInfo( oBrw:aCols[ 1 ]:Value ) }
:CreateFromCode()
END
oDlg:bDropOver := { |u,r,c,f| MsgInfo( "no drop here" ) }
ACTIVATE DIALOG oDlg CENTERED
return nil
- Antonio Linares
- Site Admin
- Posts: 42723
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 93 times
- Been thanked: 106 times
- Contact:
Re: bDragBegin and bDropOver problem *Unresolve*
Fixed bug, in Class TXBrowse Method LButtonUp:
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol, nFlags ) CLASS TXBrowse
local nCaptured
local nRowAdvanced, nTimeScrolled, nVelocity, nRowToAdvance
local nRatio, n, cMsg := ""
if ::lDrag
return ::Super:LButtonUp( nRow, nCol, nFlags )
endif
// if nRow <= ::nTopBarHeight HERE !!!
// return 0 HERE !!!
// endif HERE !!!
Re: bDragBegin and bDropOver problem *Resolved*
Dear Antonio,
I changed as below (your suggestion), it got an error. Can I make as dump function?
I use my latest version FWH2304.
Thanks in advance,
I changed as below (your suggestion), it got an error. Can I make as dump function?
Code: Select all | Expand
Error: Unresolved external '_HB_FUN_ISRECORDSET' referenced from D:\FWH2304\LIB\FIVEHX.LIB|drxl
Thanks in advance,
Antonio Linares wrote: Fri Mar 07, 2025 3:07 pm Fixed bug, in Class TXBrowse Method LButtonUp:
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol, nFlags ) CLASS TXBrowse local nCaptured local nRowAdvanced, nTimeScrolled, nVelocity, nRowToAdvance local nRatio, n, cMsg := "" if ::lDrag return ::Super:LButtonUp( nRow, nCol, nFlags ) endif // if nRow <= ::nTopBarHeight HERE !!! // return 0 HERE !!! // endif HERE !!!
Last edited by dutch on Fri Mar 07, 2025 5:11 pm, edited 1 time in total.
Regards,
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Antonio Linares
- Site Admin
- Posts: 42723
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 93 times
- Been thanked: 106 times
- Contact:
Re: bDragBegin and bDropOver problem (fixed!)
Dear Dutch,
I have just emailed you the latest FWH libs for you to test them
many thanks for your feedback
I have just emailed you the latest FWH libs for you to test them
many thanks for your feedback
Re: bDragBegin and bDropOver problem (fixed!)
Dear Antonio,
I've reinstall, change in source and rebuild library. It works well now.
Thank you so much for your kind help. I want to use many new and useful feature after FWH1901 but struck for long time.
Now It's clear and fixed.
Thanks once again.
Dutch
I've reinstall, change in source and rebuild library. It works well now.
Thank you so much for your kind help. I want to use many new and useful feature after FWH1901 but struck for long time.
Now It's clear and fixed.
Thanks once again.
Dutch
Antonio Linares wrote: Fri Mar 07, 2025 4:10 pm Dear Dutch,
I have just emailed you the latest FWH libs for you to test them
many thanks for your feedback
Regards,
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)